Unset variables. [jmk] --rw-rw-r-- M 960117 glenda sys 263 Dec 8 12:29 sys/src/ape/lib/ap/stdio/fgets.c /n/sourcesdump/2005/1208/plan9/sys/src/ape/lib/ap/stdio/fgets.c:3,9 - /n/sourcesdump/2005/1209/plan9/sys/src/ape/lib/ap/stdio/fgets.c:3,9 */ #include "iolib.h" char *fgets(char *as, int n, FILE *f){ - int c; + int c=0; char *s=as; while(n>1 && (c=getc(f))!=EOF){ *s++=c;