]> granicus.if.org Git - strace/commit
error_prints: add missing va_end() calls
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 2 May 2018 18:08:19 +0000 (20:08 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 May 2018 00:09:53 +0000 (00:09 +0000)
commitf08a679a1df67ff20072dcd6d49c3dabf174f6b0
tree167f02c2afe45fa53921f4c0ccf6c47e174876e4
parent4eb79a767dab86e772053df9ffa18ce57965f5f8
error_prints: add missing va_end() calls

These missing va_end() calls are followed by die() calls that never
return, so the only practical effect of this change is appeasement
of code checking tools.

Reported by cppcheck.

* error_prints.c (error_msg_and_die, error_msg_and_help,
perror_msg_and_die): Add va_end().
error_prints.c