Shut up gcc whine about potentially uninitialized variable

- This is a false positive really, or at least a cant-happen case
This commit is contained in:
Panu Matilainen 2012-09-05 17:47:24 +03:00
parent ea3a8f1e42
commit 154d21453f
1 changed files with 1 additions and 1 deletions

View File

@ -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;