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:
parent
ea3a8f1e42
commit
154d21453f
|
@ -168,7 +168,7 @@ static void rpmalAddFiles(rpmal al, rpmalNum pkgNum, rpmfi fi)
|
||||||
int skipdoc = (al->tsflags & RPMTRANS_FLAG_NODOCS);
|
int skipdoc = (al->tsflags & RPMTRANS_FLAG_NODOCS);
|
||||||
int skipconf = (al->tsflags & RPMTRANS_FLAG_NOCONFIGS);
|
int skipconf = (al->tsflags & RPMTRANS_FLAG_NOCONFIGS);
|
||||||
const char *prevDir = NULL;
|
const char *prevDir = NULL;
|
||||||
unsigned int dirHash, fnHash;
|
unsigned int dirHash = 0, fnHash;
|
||||||
|
|
||||||
fileEntry.pkgNum = pkgNum;
|
fileEntry.pkgNum = pkgNum;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue