]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: make uninit var warning go away
authorSage Weil <sage@newdream.net>
Wed, 29 Apr 2009 18:13:13 +0000 (11:13 -0700)
committerSage Weil <sage@newdream.net>
Wed, 29 Apr 2009 18:13:13 +0000 (11:13 -0700)
src/config.cc

index a9730b11643dec3599ce3304e3859bf809d773b2..85d4c55a0ae09c2b1617658ab7b438b78411e5bf 100644 (file)
@@ -831,7 +831,7 @@ int conf_read_key_ext(const char *conf_name, const char *conf_alt_name, const ch
 {
   int s;
   int ret;
-  char *tmp;
+  char *tmp = 0;
   for (s=0; s<5; s++) {
     const char *section;