]> err.no Git - dpkg/commitdiff
Initialize otherpriority as well
authorWichert Akkerman <wakkerma@debian.org>
Fri, 20 Apr 2001 22:33:42 +0000 (22:33 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Fri, 20 Apr 2001 22:33:42 +0000 (22:33 +0000)
ChangeLog
lib/database.c

index f49d71db0ce6c0f588e9a102ce2fd72f73745330..607dadc24cbe5646a090a226d01eada7e1153895 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
+
+  * lib/database.c: initialize otherpriority as well in blankpackage()
+
 Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 
   * lib/ehandle.c: make sure we never overflow errmsgbuf
index dbc11726ab1caf2ae2987d72b5e890cc5b1b21ed..21a19fa7efeea7f54ecae2468aa3d547b4674b39 100644 (file)
@@ -117,6 +117,7 @@ void blankpackage(struct pkginfo *pigp) {
   pigp->eflag= eflagv_ok;
   pigp->want= want_unknown;
   pigp->priority= pri_unknown;
+  pigp->otherpriority = pri_unknown;
   pigp->section= 0;
   blankversion(&pigp->configversion);
   pigp->files= 0;