summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-10 11:00:04 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-10 11:00:04 +0300
commitc9ce3241df1bc64dc61299a0a4c213530c6cef1a (patch)
tree4705bcd3f95f55f338d21a0f5d7546ef66850a5f /lib
parentfbf324936b2fcc876da545720c7d1c2240c24f07 (diff)
downloadlibrpm-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.c1
-rw-r--r--lib/signature.c2
-rw-r--r--lib/verify.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index 435bf716a..f52e40051 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -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;