X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fscansbr.c;h=dd0e4989bb4379e17860f3bae69e53e65bd9d9a8;hb=f6aa95b724fd8c791164abe7ee5468bf5c34f226;hp=df18258431101c3032e2ae23f9844a89208e3278;hpb=a33d9f4d7a1bf4bd4ab286f69af322b5b8d7c946;p=mmh diff --git a/uip/scansbr.c b/uip/scansbr.c index df18258..dd0e498 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -2,8 +2,6 @@ /* * scansbr.c -- routines to help scan along... * - * $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. @@ -81,11 +79,11 @@ scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg, int i, compnum, encrypted, state; unsigned char *cp, *tmpbuf; char **nxtbuf; - char *saved_c_text; + char *saved_c_text = NULL; struct comp *cptr; struct comp **savecomp; - char *scnmsg; - FILE *scnout; + char *scnmsg = NULL; + FILE *scnout = NULL; char name[NAMESZ]; static int rlwidth, slwidth; @@ -379,20 +377,6 @@ finished: return (state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG); } - -/* - * Cheat: we are loaded with adrparse, which wants a routine called - * OfficialName(). We call adrparse:getm() with the correct arguments - * to prevent OfficialName() from being called. Hence, the following - * is to keep the loader happy. - */ -char * -OfficialName (char *name) -{ - return name; -} - - static int mh_fputs(char *s, FILE *stream) {