Initialize fp in main()

This commit is contained in:
Peter Wemm 2001-08-13 21:57:12 +00:00
parent c7a12b501b
commit ec26f57025
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81606

View File

@ -183,7 +183,7 @@ map : LBRK RUNE RUNE RBRK
%%
int debug = 0;
FILE *fp = stdout;
FILE *fp;
main(ac, av)
int ac;
@ -193,6 +193,7 @@ main(ac, av)
extern char *optarg;
extern int optind;
fp = stdout;
while ((x = getopt(ac, av, "do:")) != EOF) {
switch(x) {