Sfoglia il codice sorgente

initialize otherpriority with 0, not an int.

Adam Heath 25 anni fa
parent
commit
16d832086a
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 4 0
      ChangeLog
  2. 1 1
      lib/database.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Fri Apr 20 18:18:20 CDT 2001 Adam Heath <doogie@debian.org>
+
+  * lib/database.c: initialize otherpriority with 0, not an int.
+
 Sat Apr 21 00:43:41 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 
   * lib/parse.c: swap order for %.*s formats

+ 1 - 1
lib/database.c

@@ -117,7 +117,7 @@ void blankpackage(struct pkginfo *pigp) {
   pigp->eflag= eflagv_ok;
   pigp->want= want_unknown;
   pigp->priority= pri_unknown;
-  pigp->otherpriority = pri_unknown;
+  pigp->otherpriority = 0;
   pigp->section= 0;
   blankversion(&pigp->configversion);
   pigp->files= 0;