]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
remove duplicate call to va_start
authorGwenole Beauchesne <gbeauchesne@mandriva.com>
Tue, 25 Jan 2011 17:26:49 +0000 (18:26 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 25 Jan 2011 17:26:49 +0000 (18:26 +0100)
checkboxtree.c

index 534a46eb060d275e5f9a6d773cdec3a012f3eba5..95156ebd2cce4dd28775f85d970046e6766c3608 100644 (file)
@@ -118,7 +118,6 @@ int newtCheckboxTreeAddItem(newtComponent co,
     va_start(argList, index);
     numIndexes = 0;
     i = index;
-    va_start(argList, index);
     while (i != NEWT_ARG_LAST) {
        indexes[numIndexes++] = i;
        i = va_arg(argList, int);