From c2ea759143645bf844d212ae502103d41e0e1f87 Mon Sep 17 00:00:00 2001 From: edwin Date: Tue, 25 Sep 2007 21:41:22 +0000 Subject: [PATCH] Fix possible uninitialized variable insert due to previous commit. Pointy hat to: me and my absence of -Wall in my CFLAGS. MFC will happen at the same time of the earlier commit. Thanks to ru@ for spotting. Approved by: re (Ken Smith), grog@ (mentor) --- gnu/usr.bin/man/man/man.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index cb88053fb753..2cdd22a76b30 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -898,7 +898,7 @@ ultimate_source (name, path) #endif #if HAVE_LIBZ > 0 - gzgets (fp, buf, BUFSIZ); + end = gzgets (fp, buf, BUFSIZ); gzclose(fp); #else end = fgets (buf, BUFSIZ, fp);