From 002555d3d68d553044facbe4fad7bd008a42ac5e Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Mon, 26 Mar 2012 21:12:29 +0200 Subject: [PATCH] Removed unused local variables to eliminate warnings from gcc 4.6.2. Merged from nmh. Thanks to David Levine. --- uip/fmtdump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 1.7.10.4