Просмотр исходного кода

Remove wrong comment not matching the code

Guillem Jover лет назад: 18
Родитель
Сommit
aab42e457c
2 измененных файлов с 6 добавлено и 1 удалено
  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>
 
 	* 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;
       } else {
         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;
       }
     }