Remove -98 vintage ifdef'ed dead code
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 08:52:22 +0000 (10:52 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 08:52:22 +0000 (10:52 +0200)
rpmio/macro.c

index f12091f..88fb583 100644 (file)
@@ -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;
        }