diff options
Diffstat (limited to 'lib/rpmal.c')
-rw-r--r-- | lib/rpmal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c index b3026111a..ac4ba00ff 100644 --- a/lib/rpmal.c +++ b/lib/rpmal.c @@ -398,7 +398,7 @@ fprintf(stderr, "*** add %p[%d]\n", al->list, pkgNum); alp->fi = rpmfiLink(fi, "Files (alAddPackage)"); fi = rpmfiLink(alp->fi, "Files index (alAddPackage)"); - if ((fi = tfiInit(fi, 0)) != NULL) + fi = tfiInit(fi, 0); if (tfiGetFC(fi) > 0) { int * dirMapping; dirInfo dieNeedle = @@ -471,7 +471,6 @@ fprintf(stderr, "+++ die[%3d] %p [%d] %s\n", al->numDirs, die, die->dirNameLen, /* Rewind to first file, generate file index entry for each file. */ fi = tfiInit(fi, first); - if (fi != NULL) while ((first = tfiNext(fi)) >= 0 && first < next) { /*@-assignexpose -onlytrans @*/ fie->baseName = tfiGetBN(fi); |