Skip to content

Commit

Permalink
rpmsign: eliminate unused leftover variable
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
  • Loading branch information
ignatenkobrain authored and pmatilai committed Jan 4, 2017
1 parent 53eaf59 commit 669fc07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rpmsign.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ static struct poptOption optionsTable[] = {
static int doSign(poptContext optCon)
{
int rc = EXIT_FAILURE;
char * passPhrase = NULL;
char * name = rpmExpand("%{?_gpg_name}", NULL);
struct rpmSignArgs sig = {NULL, 0, 0};
char *key = NULL;
Expand Down Expand Up @@ -104,7 +103,6 @@ static int doSign(poptContext optCon)

exit:
free(key);
free(passPhrase);
free(name);
return rc;
}
Expand Down

0 comments on commit 669fc07

Please sign in to comment.