Remove unused variable in debugedit
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Mar 2011 12:50:30 +0000 (14:50 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Mar 2011 12:50:30 +0000 (14:50 +0200)
tools/debugedit.c

index 57e3872..32976cb 100644 (file)
@@ -352,7 +352,6 @@ static char *
 canonicalize_path (const char *s, char *d)
 {
   char *rv = d;
-  const char *sroot;
   char *droot;
 
   if (IS_DIR_SEPARATOR (*s))
@@ -368,7 +367,6 @@ canonicalize_path (const char *s, char *d)
        s++;
     }
   droot = d;
-  sroot = s;
 
   while (*s)
     {