From a72c94d4e0c02b5095ca6798de2474768490ef94 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 20 Nov 2014 10:57:46 +0100 Subject: [PATCH] Fixed a possible uninitialized variable access. (Thanks to the compiler for reporting.) --- uip/whom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/whom.c b/uip/whom.c index 8ffe8b8..57fddc8 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -173,7 +173,7 @@ static int process(char *file) { int state, compnum; - char *cp; + char *cp = NULL; char buf[BUFSIZ], name[NAMESZ]; FILE *in; -- 1.7.10.4