diff --git a/lib/rpmal.c b/lib/rpmal.c index 420512af4..0ee8a7236 100644 --- a/lib/rpmal.c +++ b/lib/rpmal.c @@ -168,7 +168,7 @@ static void rpmalAddFiles(rpmal al, rpmalNum pkgNum, rpmfi fi) int skipdoc = (al->tsflags & RPMTRANS_FLAG_NODOCS); int skipconf = (al->tsflags & RPMTRANS_FLAG_NOCONFIGS); const char *prevDir = NULL; - unsigned int dirHash, fnHash; + unsigned int dirHash = 0, fnHash; fileEntry.pkgNum = pkgNum;