summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-12 17:37:19 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-12 17:37:19 +0000
commit3996eade3a09875516f527f5fdc5fdf62e8b5ddb (patch)
tree7e5964bb3b9dd0f03f8c8f2b5e671290e318bba7
parent6a524694a7fd21b979d2ed6f93dce2f61e073ef9 (diff)
downloadperl-RPM4-3996eade3a09875516f527f5fdc5fdf62e8b5ddb.tar
perl-RPM4-3996eade3a09875516f527f5fdc5fdf62e8b5ddb.tar.gz
perl-RPM4-3996eade3a09875516f527f5fdc5fdf62e8b5ddb.tar.bz2
perl-RPM4-3996eade3a09875516f527f5fdc5fdf62e8b5ddb.tar.xz
perl-RPM4-3996eade3a09875516f527f5fdc5fdf62e8b5ddb.zip
kill unused variable
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@186 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/src/RPM4.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index be000b4..2a17ad0 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -1490,11 +1490,11 @@ Ts_injectheader(db, header)
rpmts db
Header header
PREINIT:
- rpmdb rdb;
CODE:
#ifdef RPM4_9_0
croak("injectheader>rpmdbAdd exists only in rpm < 4.9; unused anyway");
#else
+ rpmdb rdb;
rdb = rpmtsGetRdb(db);
RETVAL = rpmdbAdd(rdb, 0, header, db, NULL);
#endif