From: Gwenole Beauchesne Date: Tue, 25 Jan 2011 17:28:34 +0000 (+0100) Subject: do not call va_start instead of va_end X-Git-Tag: r0-52-13~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67fae45001c3974785cc7981ee25ffe6991d843a;p=thirdparty%2Fnewt.git do not call va_start instead of va_end --- diff --git a/grid.c b/grid.c index bedd02a..5b4b120 100644 --- a/grid.c +++ b/grid.c @@ -319,7 +319,7 @@ newtGrid newtGridHCloseStacked(enum newtGridElement type1, void * what1, ...) { grid = stackem(0, type1, what1, args, 1); - va_start(args, what1); + va_end(args); return grid; } @@ -332,7 +332,7 @@ newtGrid newtGridVCloseStacked(enum newtGridElement type1, void * what1, ...) { grid = stackem(1, type1, what1, args, 1); - va_start(args, what1); + va_end(args); return grid; } @@ -345,7 +345,7 @@ newtGrid newtGridVStacked(enum newtGridElement type1, void * what1, ...) { grid = stackem(1, type1, what1, args, 0); - va_start(args, what1); + va_end(args); return grid; } @@ -358,7 +358,7 @@ newtGrid newtGridHStacked(enum newtGridElement type1, void * what1, ...) { grid = stackem(0, type1, what1, args, 0); - va_start(args, what1); + va_end(args); return grid; }