ceph: silence uninitialized variable warning
authorSage Weil <sage@newdream.net>
Tue, 27 Oct 2009 05:06:22 +0000 (22:06 -0700)
committerSage Weil <sage@newdream.net>
Tue, 27 Oct 2009 05:07:59 +0000 (22:07 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c

index deb51bd6ed8378b9ba12ab7bcba001e560d09e2e..924e6cad0b66c70903e617b2fb915c74aa910451 100644 (file)
@@ -808,7 +808,7 @@ static int ceph_get_sb(struct file_system_type *fs_type,
        struct ceph_client *client;
        int err;
        int (*compare_super)(struct super_block *, void *) = ceph_compare_super;
-       const char *path;
+       const char *path = 0;
 
        dout("ceph_get_sb\n");