Remove redundant max_macro_depth initialization

Oldies but goodies: the max depth is already initialized in declaration
to _MAX_MACRO_DEPTH which has been the same 16 since late nineties. This
wasn't always the case of course...
This commit is contained in:
Panu Matilainen 2017-08-18 17:07:39 +03:00
parent 054de0f50f
commit 2986e7659d
1 changed files with 0 additions and 3 deletions

View File

@ -1467,9 +1467,6 @@ static int loadMacroFile(rpmMacroContext mc, const char * fn)
if (fd == NULL)
goto exit;
/* XXX Assume new fangled macro expansion */
max_macro_depth = 16;
buf[0] = '\0';
while (rdcl(buf, blen, fd) != NULL) {
char c, *n;