lintian doesn't like orphan packages with uploaders...
[debian/amanda] / oldrecover-src / extract_list.c
index 970b88dc38091656d35249e0ce396cc99b814187..43971d75246c9449211c2acc0bc5bb86abe861ec 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1998, 2000 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -585,7 +586,7 @@ void add_file(
     char *err = NULL;
     int i;
     ssize_t j;
-    char *dir, *dir_undo, dir_undo_ch = '\0';
+    char *dir_undo, dir_undo_ch = '\0';
     char *ditem_path = NULL;
     char *l = NULL;
     int  added;
@@ -757,7 +758,6 @@ void add_file(
                        err = _("bad reply: missing directory field");
                        continue;
                    }
-                   dir = s - 1;
                    skip_quoted_string(s, ch);
                    dir_undo = s - 1;
                    dir_undo_ch = *dir_undo;
@@ -902,7 +902,6 @@ delete_file(
     char *tape, *tape_undo, tape_undo_ch = '\0';
     char *dir_undo, dir_undo_ch = '\0';
     int  level = 0;
-    off_t fileno;
     char *ditem_path = NULL;
     char *l = NULL;
     int  deleted;
@@ -1064,7 +1063,6 @@ delete_file(
                            err = _("bad reply: cannot parse fileno field");
                            continue;
                        }
-                       fileno = (off_t)fileno_;
                        skip_integer(s, ch);
                    }