From: markus schnalke Date: Mon, 26 Mar 2012 19:12:29 +0000 (+0200) Subject: Removed unused local variables to eliminate warnings from gcc 4.6.2. X-Git-Tag: mmh-thesis-end~193 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=002555d3d68d553044facbe4fad7bd008a42ac5e;p=mmh Removed unused local variables to eliminate warnings from gcc 4.6.2. Merged from nmh. Thanks to David Levine. --- diff --git a/uip/fmtdump.c b/uip/fmtdump.c index a7fe9f4..b59cf5c 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -42,7 +42,6 @@ static void litputc(char); int main(int argc, char **argv) { - int ncomps; char *cp, *form = NULL; char buf[BUFSIZ], *fmtstr, **argp, **arguments; struct format *fmt; @@ -94,7 +93,7 @@ main(int argc, char **argv) ** Get new format string. Must be before chdir(). */ fmtstr = new_fs(form, FORMAT); - ncomps = fmt_compile(fmtstr, &fmt); + fmt_compile(fmtstr, &fmt); fmt_dump(fmt); done(0);