Dead code removal (macro stuff)

This commit is contained in:
Panu Matilainen 2008-03-31 10:44:23 +03:00
parent 802900a230
commit 7ddab3ab8d
1 changed files with 0 additions and 17 deletions

View File

@ -675,20 +675,6 @@ exit:
return se; return se;
} }
#ifdef DYING
static void
dumpME(const char * msg, rpmMacroEntry me)
{
if (msg)
fprintf(stderr, "%s", msg);
fprintf(stderr, "\tme %p", me);
if (me)
fprintf(stderr,"\tname %p(%s) prev %p",
me->name, me->name, me->prev);
fprintf(stderr, "\n");
}
#endif
/** /**
* Push new macro definition onto macro entry stack. * Push new macro definition onto macro entry stack.
* @param mep address of macro entry slot * @param mep address of macro entry slot
@ -1562,9 +1548,6 @@ rpmInitMacros(rpmMacroContext mc, const char * macrofiles)
if (macrofiles == NULL) if (macrofiles == NULL)
return; return;
#ifdef DYING
if (mc == NULL) mc = rpmGlobalMacroContext;
#endif
mfiles = xstrdup(macrofiles); mfiles = xstrdup(macrofiles);
for (m = mfiles; m && *m != '\0'; m = me) { for (m = mfiles; m && *m != '\0'; m = me) {