]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
remove unused variable
authorColin Watson <cjwatson@ubuntu.com>
Wed, 23 Mar 2011 14:45:04 +0000 (14:45 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 23 Mar 2011 14:45:04 +0000 (14:45 +0000)
grub-core/kern/emu/getroot.c

index 601ac8b0420ae81e6b463546846647393d3d98f9..71b9a3c50926b58dd556b58a30ceb17864869979 100644 (file)
@@ -131,7 +131,6 @@ grub_find_root_device_from_mountinfo (const char *dir, char **relroot)
       size_t enc_path_len;
       const char *sep;
       char fstype[PATH_MAX], device[PATH_MAX];
-      struct stat st;
 
       if (sscanf (buf, "%d %d %u:%u %s %s%n",
                  &mnt_id, &parent_mnt_id, &major, &minor, enc_root, enc_path,