diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-09-05 17:47:24 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-05 17:47:24 +0300 |
commit | 154d21453f1699b1e7f4d89fd6b10c3f36011892 (patch) | |
tree | 684112cf03270de2c37808d96a28eae7c4f8987b | |
parent | ea3a8f1e427a33527ab22c1ba4940153a235e610 (diff) | |
download | rpm-154d21453f1699b1e7f4d89fd6b10c3f36011892.tar.gz rpm-154d21453f1699b1e7f4d89fd6b10c3f36011892.tar.bz2 rpm-154d21453f1699b1e7f4d89fd6b10c3f36011892.zip |
Shut up gcc whine about potentially uninitialized variable
- This is a false positive really, or at least a cant-happen case
-rw-r--r-- | lib/rpmal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |