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:
parent
054de0f50f
commit
2986e7659d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue