diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 17:50:43 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 17:50:43 +0300 |
commit | f634253b323933e0383ca9097a77fc0731ad766e (patch) | |
tree | e8d7c248ebd6874e5dceab2311eb6cd4a1b975cc /rpmio | |
parent | c50851aa990aab57f9906d29555fb6443571a318 (diff) | |
download | librpm-tizen-f634253b323933e0383ca9097a77fc0731ad766e.tar.gz librpm-tizen-f634253b323933e0383ca9097a77fc0731ad766e.tar.bz2 librpm-tizen-f634253b323933e0383ca9097a77fc0731ad766e.zip |
Eliminate unused variable
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index 527ee8007..c87b434c4 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -780,7 +780,7 @@ static const char * grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se, const char * lastc) { - const char *opts, *o; + const char *opts; char *args = NULL; ARGV_t argv = NULL; int argc = 0; @@ -834,7 +834,7 @@ grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se, while((c = getopt(argc, argv, opts)) != -1) { char *name = NULL, *body = NULL; - if (c == '?' || (o = strchr(opts, c)) == NULL) { + if (c == '?' || strchr(opts, c) == NULL) { rpmlog(RPMLOG_ERR, _("Unknown option %c in %s(%s)\n"), (char)c, me->name, opts); goto exit; |