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 deb51bd..924e6ca 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");