--- libaitio/src/Attic/vars.c 2012/05/18 13:52:52 1.7.2.5 +++ libaitio/src/Attic/vars.c 2012/05/18 13:58:38 1.7.2.6 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: vars.c,v 1.7.2.5 2012/05/18 13:52:52 misho Exp $ +* $Id: vars.c,v 1.7.2.6 2012/05/18 13:58:38 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -516,7 +516,7 @@ io_getVars(array_t ** __restrict vars, int n) return NULL; for (; i < io_arraySize(*vars); i++) if (!io_arrayGet(*vars, i)) { - if ((v = io_allocVar())) + if (!(v = io_allocVar())) return NULL; else io_arraySet(*vars, n, v);