diff options
author | dawes <dawes> | 2001-12-28 17:09:08 +0000 |
---|---|---|
committer | dawes <dawes> | 2001-12-28 17:09:08 +0000 |
commit | 3693450837121863d1484ce52e0fd6efb3bff503 (patch) | |
tree | a7e7ab7a7bad3adf48b04a19b400855cb87e5e18 | |
parent | a8b91ec16588e5d5c0abc7e24c75a655ea604b2c (diff) |
630. Fix bug where a pointer may be checked without being intialized in xman
(#5120, Martin Husemann).
-rw-r--r-- | programs/xman/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/xman/misc.c b/programs/xman/misc.c index 288452f5f..52dda73c3 100644 --- a/programs/xman/misc.c +++ b/programs/xman/misc.c @@ -28,7 +28,7 @@ other dealings in this Software without prior written authorization from the X Consortium. */ -/* $XFree86: xc/programs/xman/misc.c,v 1.5 2001/01/27 17:24:27 herrb Exp $ */ +/* $XFree86: xc/programs/xman/misc.c,v 1.6 2001/04/19 19:54:51 dawes Exp $ */ /* * xman - X window system manual page display program. @@ -402,7 +402,7 @@ UncompressNamed(ManpageGlobals * man_globals, char * filename, char * output, FILE * Format(ManpageGlobals * man_globals, char * entry) { - FILE * file; + FILE * file = NULL; #ifdef HAS_MKSTEMP int fd; #endif |