diff options
author | peter <peter@FreeBSD.org> | 2001-08-13 21:57:12 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-08-13 21:57:12 +0000 |
commit | 7e27631a25e657b0d32dae3e4a604e068c35d801 (patch) | |
tree | 09d757742bfed6b8b9c7b454465cc7d2d07d53c4 /usr.bin/mklocale/yacc.y | |
parent | 373ef9952e0a3257762282ff84c6c19e8c04b444 (diff) | |
download | FreeBSD-src-7e27631a25e657b0d32dae3e4a604e068c35d801.zip FreeBSD-src-7e27631a25e657b0d32dae3e4a604e068c35d801.tar.gz |
Initialize fp in main()
Diffstat (limited to 'usr.bin/mklocale/yacc.y')
-rw-r--r-- | usr.bin/mklocale/yacc.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y index dcdef34..7ad1d37 100644 --- a/usr.bin/mklocale/yacc.y +++ b/usr.bin/mklocale/yacc.y @@ -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) { |