Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Thu, 28 May 2009 09:52:02 +0000 (09:52 +0000)
committerjohann <johann>
Thu, 28 May 2009 09:52:02 +0000 (09:52 +0000)
quiet compiler warning.

lnet/libcfs/nidstrings.c

index 796e1b9..048c23b 100644 (file)
@@ -415,7 +415,7 @@ libcfs_nid2str(lnet_nid_t nid)
 static struct netstrfns *
 libcfs_str2net_internal(const char *str, __u32 *net)
 {
-        struct netstrfns *nf;
+        struct netstrfns *nf = NULL;
         int               nob;
         int               netnum;
         int               i;