Unnecessary local variable, result only needed once

This commit is contained in:
Panu Matilainen 2008-11-17 14:21:38 +02:00
parent 4181d7adad
commit a919e1d631
1 changed files with 1 additions and 4 deletions

View File

@ -232,7 +232,6 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
char * specFile = NULL;
Header h = NULL;
rpmpsm psm = NULL;
int isSource;
rpmRC rpmrc;
int i;
@ -251,9 +250,7 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
rpmrc = RPMRC_FAIL; /* assume failure */
isSource = headerIsSource(h);
if (!isSource) {
if (!headerIsSource(h)) {
rpmlog(RPMLOG_ERR, _("source package expected, binary found\n"));
goto exit;
}