From 3996eade3a09875516f527f5fdc5fdf62e8b5ddb Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Jun 2012 17:37:19 +0000 Subject: kill unused variable git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@186 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/src/RPM4.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RPM4/src/RPM4.xs') 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 -- cgit v1.2.1