X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Ffmtdump.c;h=2abf05e5a0908180f5c765b15b7cc0b69505c709;hb=a93204a5abced109070990a2b9d567344f352cbd;hp=cc9a589a04763707de2ef919a00351150d390d44;hpb=cafee7a804b8aa53166065e988ec0fc387862fc8;p=mmh diff --git a/uip/fmtdump.c b/uip/fmtdump.c index cc9a589..2abf05e 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -2,8 +2,6 @@ /* * fmtdump.c -- compile format file and dump out instructions * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -47,7 +45,6 @@ static void litputc(char); int main (int argc, char **argv) { - int ncomps; char *cp, *form = NULL, *format = NULL; char buf[BUFSIZ], *nfs, **argp, **arguments; struct format *fmt; @@ -103,10 +100,11 @@ main (int argc, char **argv) * Get new format string. Must be before chdir(). */ nfs = new_fs (form, format, FORMAT); - ncomps = fmt_compile(nfs, &fmt); + (void) fmt_compile(nfs, &fmt); fmt_dump(fmt); - return done(0); + done(0); + return 1; } static void