Browse Source

ceph: silence uninitialized variable warning

Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil 15 years ago
parent
commit
6ca874e92d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/ceph/super.c

+ 1 - 1
fs/ceph/super.c

@@ -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");