projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b12a3b
)
Remove -98 vintage ifdef'ed dead code
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 4 Jan 2010 08:52:22 +0000
(10:52 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 4 Jan 2010 08:52:22 +0000
(10:52 +0200)
rpmio/macro.c
patch
|
blob
|
history
diff --git
a/rpmio/macro.c
b/rpmio/macro.c
index
f12091f
..
88fb583
100644
(file)
--- 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;
}