diff options
| author | Simo Sorce <simo@redhat.com> | 2014-06-06 17:54:32 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2014-06-08 14:25:04 -0400 |
| commit | 16ef0591bd56de972eec59622698eb1723fc8e7b (patch) | |
| tree | 3a1818b5f567da4b25882a51654f91c6550673e0 /bindings/java/tests/LoginTest.java | |
| parent | 82fd1bcd38957ed4a12eb867885ae3787b28144d (diff) | |
| download | lasso-16ef0591bd56de972eec59622698eb1723fc8e7b.tar.gz lasso-16ef0591bd56de972eec59622698eb1723fc8e7b.tar.xz lasso-16ef0591bd56de972eec59622698eb1723fc8e7b.zip | |
Be correct in dealing with varargs
Although in this cases it may be safe to omit va_end() that is not generally
so with an arbitrary compiler on an arbitrary platform.
Quoting from the spec: "Each invocation of va_start() must be matched by
a corresponding invocation of va_end() in the same function."
note the "must"
Checker tools like Coverity complain if va_start() is not always paired with
va_end(), so this patch mutes them.
License: MIT
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'bindings/java/tests/LoginTest.java')
0 files changed, 0 insertions, 0 deletions
