summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-04 10:52:22 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-04 10:52:22 +0200
commit2c5ea0b1889a86b8ec64e60c36ba42e909ebbdf7 (patch)
treefd4a65267c8562e239e7922f761f9662972c3a33 /rpmio
parent5b12a3b519b3a4a462ec72a7530f1ee6f117471c (diff)
downloadrpm-2c5ea0b1889a86b8ec64e60c36ba42e909ebbdf7.tar.gz
rpm-2c5ea0b1889a86b8ec64e60c36ba42e909ebbdf7.tar.bz2
rpm-2c5ea0b1889a86b8ec64e60c36ba42e909ebbdf7.zip
Remove -98 vintage ifdef'ed dead code
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/macro.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index f12091f0c..88fb58362 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1318,22 +1318,9 @@ expandMacro(MacroBuf mb)
}
if (me == NULL) { /* leave unknown %... as is */
-#ifndef HACK
-#if DEAD
- /* XXX hack to skip over empty arg list */
- if (fn == 1 && *f == '*') {
- s = se;
- continue;
- }
-#endif
/* XXX hack to permit non-overloaded %foo to be passed */
c = '%'; /* XXX only need to save % */
SAVECHAR(mb, c);
-#else
- rpmlog(RPMLOG_ERR,
- _("Macro %%%.*s not found, skipping\n"), fn, f);
- s = se;
-#endif
continue;
}