Przeglądaj źródła

Remove wrong comment not matching the code

Guillem Jover 18 lat temu
rodzic
commit
aab42e457c
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 5 0
      ChangeLog
  2. 1 1
      src/remove.c

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-07-02  Guillem Jover  <guillem@debian.org>
+
+	* src/remove.c (removal_bulk_remove_configfiles): Remove wrong comment
+	not matching the code.
+
 2008-07-02  Guillem Jover  <guillem@debian.org>
 2008-07-02  Guillem Jover  <guillem@debian.org>
 
 
 	* src/archives.c (tarfile_skip_one_forward): Make static.
 	* src/archives.c (tarfile_skip_one_forward): Make static.

+ 1 - 1
src/remove.c

@@ -436,7 +436,7 @@ static void removal_bulk_remove_configfiles(struct pkginfo *pkg) {
         *lconffp= conff->next;
         *lconffp= conff->next;
       } else {
       } else {
         debug(dbg_conffdetail,"removal_bulk set to new conffile `%s'",conff->name);
         debug(dbg_conffdetail,"removal_bulk set to new conffile `%s'",conff->name);
-        conff->hash= NEWCONFFILEFLAG; /* yes, cast away const */
+        conff->hash = NEWCONFFILEFLAG;
         lconffp= &conff->next;
         lconffp= &conff->next;
       }
       }
     }
     }