]> mj.ucw.cz Git - libucw.git/commitdiff
conf: forgot to initialize a local variable
authorRobert Spalek <robert@ucw.cz>
Wed, 3 May 2006 13:20:07 +0000 (15:20 +0200)
committerRobert Spalek <robert@ucw.cz>
Wed, 3 May 2006 13:20:07 +0000 (15:20 +0200)
lib/conf-intr.c

index cd015bd2282f2be8f4f386ebb6dc5f2e2d02fe4d..acbe702f2446def422ab06ac3dd97fc3a588693f 100644 (file)
@@ -510,7 +510,7 @@ byte *
 cf_find_item(byte *name, struct cf_item *item)
 {
   byte *msg;
-  void *ptr;
+  void *ptr = NULL;
   struct cf_item *ci = find_item(&cf_sections, name, &msg, &ptr);
   if (msg)
     return msg;