From: Wichert Akkerman Date: Fri, 20 Apr 2001 22:33:42 +0000 (+0000) Subject: Initialize otherpriority as well X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02a98f2c8955a9114754a101b1bd66e746a44451;p=dpkg Initialize otherpriority as well --- diff --git a/ChangeLog b/ChangeLog index f49d71db..607dadc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman + + * lib/database.c: initialize otherpriority as well in blankpackage() + Fri Apr 20 22:59:39 CEST 2001 Wichert Akkerman * lib/ehandle.c: make sure we never overflow errmsgbuf diff --git a/lib/database.c b/lib/database.c index dbc11726..21a19fa7 100644 --- a/lib/database.c +++ b/lib/database.c @@ -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;