diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-19 14:05:09 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-21 08:58:47 +0100 |
commit | 76e84e017f89172d46096101b2cd96620dd432dc (patch) | |
tree | ff77dd252f02612a6949a54b478769c31b06364d /src | |
parent | 488839444de7324318e34e3b8ba00200a531b883 (diff) | |
download | px4-firmware-76e84e017f89172d46096101b2cd96620dd432dc.tar.gz px4-firmware-76e84e017f89172d46096101b2cd96620dd432dc.tar.bz2 px4-firmware-76e84e017f89172d46096101b2cd96620dd432dc.zip |
VA_ARGS fixes from coverity
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/systemlib/err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/systemlib/err.c b/src/modules/systemlib/err.c index 998b5ac7d..a1a8e7ea8 100644 --- a/src/modules/systemlib/err.c +++ b/src/modules/systemlib/err.c @@ -154,6 +154,7 @@ warn(const char *fmt, ...) va_start(args, fmt); vwarn(fmt, args); + va_end(args); } void @@ -169,6 +170,7 @@ warnc(int errcode, const char *fmt, ...) va_start(args, fmt); vwarnc(errcode, fmt, args); + va_end(args); } void @@ -184,6 +186,7 @@ warnx(const char *fmt, ...) va_start(args, fmt); vwarnx(fmt, args); + va_end(args); } void |