diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-30 09:36:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-30 09:36:03 +0300 |
commit | 5b2c322887ee2309ce7bd7fe2c055e0968225eee (patch) | |
tree | 0e8de0345fbd2c349ec610876eafaa7363475550 /rpmbuild.c | |
parent | 6bd2b43e9c90637380169992f48e278824139987 (diff) | |
download | rpm-5b2c322887ee2309ce7bd7fe2c055e0968225eee.tar.gz rpm-5b2c322887ee2309ce7bd7fe2c055e0968225eee.tar.bz2 rpm-5b2c322887ee2309ce7bd7fe2c055e0968225eee.zip |
Eliminate dead NULL-assignments at scope-end in main cli utils
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmbuild.c b/rpmbuild.c index dcdf3d40b..6aac0279f 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -232,7 +232,7 @@ static int checkSpec(rpmts ts, rpmSpec spec) rpmpsPrint(NULL, ps); } rc = (ps != NULL); - ps = rpmpsFree(ps); + rpmpsFree(ps); return rc; } @@ -627,10 +627,10 @@ int main(int argc, char *argv[]) break; } - ts = rpmtsFree(ts); + rpmtsFree(ts); finishPipe(); - ba->buildRootOverride = _free(ba->buildRootOverride); - build_targets = argvFree(build_targets); + free(ba->buildRootOverride); + argvFree(build_targets); rpmcliFini(optCon); |