]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
remove unused variables
authorColin Watson <cjwatson@ubuntu.com>
Tue, 25 Jan 2011 12:28:11 +0000 (12:28 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 25 Jan 2011 12:28:11 +0000 (12:28 +0000)
grub-core/kern/emu/getroot.c

index 0035c734af63b6dd065913c07b123d0abb64252e..4f8a0e8a7a43fe40c176c2f3f667c405959b6464 100644 (file)
@@ -573,9 +573,8 @@ grub_util_is_lvm (const char *os_dev)
   {
     struct dm_tree *tree;
     uint32_t maj, min;
-    struct dm_tree_node *node = NULL, *child;
-    void *handle;
-    const char *node_uuid, *mapper_name = NULL, *child_uuid, *child_name;
+    struct dm_tree_node *node = NULL;
+    const char *node_uuid;
     struct stat st;
 
     if (stat (os_dev, &st) < 0)