X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Ffmtdump.c;h=b59cf5c79645b7b4de8b3ee64b46dcb09217b9f3;hb=601cc73d1fa05ce96faa728f036d6c51b91701c7;hp=923a46e99fa90550926daaf8fbd4f2d450c9ed69;hpb=f51956be123db66b00138f80464d06f030dbb88d;p=mmh diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 923a46e..b59cf5c 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -42,9 +42,8 @@ static void litputc(char); int main(int argc, char **argv) { - int ncomps; char *cp, *form = NULL; - char buf[BUFSIZ], *nfs, **argp, **arguments; + char buf[BUFSIZ], *fmtstr, **argp, **arguments; struct format *fmt; #ifdef LOCALE @@ -93,8 +92,8 @@ main(int argc, char **argv) /* ** Get new format string. Must be before chdir(). */ - nfs = new_fs(form, FORMAT); - ncomps = fmt_compile(nfs, &fmt); + fmtstr = new_fs(form, FORMAT); + fmt_compile(fmtstr, &fmt); fmt_dump(fmt); done(0);