summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-05 18:26:01 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-08 14:26:00 +0100
commitce105e87404c53c09b8f9af4f76736b50458f0c7 (patch)
treef3af26b6245e4edcdebe395a4301679add5af1be /apt-pkg/contrib/error.h
parent4234d90d58b684824bf217d9226c50b7c9583346 (diff)
(error) va_list 'args' was opened but not closed by va_end()
The manpage of va_start and co additionally says: On some systems, va_end contains a closing '}' matching a '{' in va_start, so that both macros must occur in the same function, and in a way that allows this. So instead of return/breaking instantly, we save the return, make a proper turndown with va_end in all cases and only end after that. Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/contrib/error.h')
0 files changed, 0 insertions, 0 deletions