Not that simple. The REQUIRE macro is used before va_start, I had to
define another macro and goto label to get the job done.
Fixed and committed to SVN.
Best,
Scuri
2018-01-16 23:38 GMT-02:00 Ranier VF :
> Hi,
> Issue found by Coverity Scan.
> CID 210616 (#1 of
Hi,
Issue found by Coverity Scan.
CID 210616 (#1 of 1): Missing varargs init or cleanup (VARARGS)
--- a\src\iup_scanf.c Sun Jul 26 03:10:04 2015
+++ b\src\iup_scanf.c Tue Jan 16 23:38:37 2018
@@ -175,9 +175,9 @@
}
++fields_out_count;
}
- va_end(va);
cleanup:
+ va_end(va);