Initialize fp in main()
This commit is contained in:
parent
c7a12b501b
commit
ec26f57025
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81606
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user