From a2fa45ec703832c48618f5828d883b8655bec090 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 12 Jun 2006 10:41:32 +0000 Subject: That wasn't actually necessary --- URPM.xs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/URPM.xs b/URPM.xs index 7259006..d590a6a 100644 --- a/URPM.xs +++ b/URPM.xs @@ -2853,11 +2853,7 @@ Trans_add(trans, pkg, ...) } } } -#ifdef RPM_446 - RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, *relocations) == 0; -#else RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, relocations) == 0; -#endif /* free allocated memory, check rpm is copying it just above, at least in 4.0.4 */ free(relocations); } else RETVAL = 0; -- cgit v1.2.1