diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-07-10 11:00:04 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-07-10 11:00:04 +0300 |
commit | c9ce3241df1bc64dc61299a0a4c213530c6cef1a (patch) | |
tree | 4705bcd3f95f55f338d21a0f5d7546ef66850a5f /lib | |
parent | fbf324936b2fcc876da545720c7d1c2240c24f07 (diff) | |
download | librpm-tizen-c9ce3241df1bc64dc61299a0a4c213530c6cef1a.tar.gz librpm-tizen-c9ce3241df1bc64dc61299a0a4c213530c6cef1a.tar.bz2 librpm-tizen-c9ce3241df1bc64dc61299a0a4c213530c6cef1a.zip |
Remove / #ifdef out unused variables as appropriate.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fsm.c | 1 | ||||
-rw-r--r-- | lib/signature.c | 2 | ||||
-rw-r--r-- | lib/verify.c | 1 |
3 files changed, 2 insertions, 2 deletions
@@ -902,7 +902,6 @@ static int writeFile(/*@special@*/ /*@partial@*/ FSM_t fsm, int writeData) struct stat * ost = &fsm->osb; char * symbuf = NULL; int left; - int xx; int rc; st->st_size = (writeData ? ost->st_size : 0); diff --git a/lib/signature.c b/lib/signature.c index 5617e3240..afea8d593 100644 --- a/lib/signature.c +++ b/lib/signature.c @@ -406,8 +406,10 @@ static int makePGPSignature(const char * file, int_32 * sigTagp, struct stat st; const char * cmd; char *const *av; +#ifdef NOTYET pgpDig dig = NULL; pgpDigParams sigp = NULL; +#endif int rc; /*@-boundswrite@*/ diff --git a/lib/verify.c b/lib/verify.c index 162a8e583..c5305070b 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -474,7 +474,6 @@ int showVerifyPackage(QVA_t qva, rpmts ts, Header h) int rpmcliVerify(rpmts ts, QVA_t qva, const char ** argv) { - const char * arg; rpmVSFlags vsflags, ovsflags; int ec = 0; |