From: Martin Mares Date: Mon, 27 Jan 2014 16:18:02 +0000 (+0100) Subject: Opt: exit() does not return, no need to call va_end() afterwards X-Git-Tag: v5.99~25^2~12 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3ddd3c4748a4022cb9c4e73215ca5280adb5ca45;p=libucw.git Opt: exit() does not return, no need to call va_end() afterwards --- diff --git a/ucw/opt.c b/ucw/opt.c index 5ba7954d..5a529d7f 100644 --- a/ucw/opt.c +++ b/ucw/opt.c @@ -68,7 +68,6 @@ static void opt_failure(const char * mesg, ...) { fprintf(stderr, "\n"); opt_usage(); exit(OPT_EXIT_BAD_ARGS); - va_end(args); // FIXME: Does this make a sense after exit()? } static char *opt_name(struct opt_context *oc, struct opt_precomputed *opt)