From 3ddd3c4748a4022cb9c4e73215ca5280adb5ca45 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 27 Jan 2014 17:18:02 +0100 Subject: [PATCH] Opt: exit() does not return, no need to call va_end() afterwards --- ucw/opt.c | 1 - 1 file changed, 1 deletion(-) 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) -- 2.39.2