Earlier in the code, parent->allow_unlang is tested; if parent
is NULL, it will break thre, so the later check is unnecessary.
buff[2] = stack->buff[2];
buff[3] = stack->buff[3];
+ fr_assert(parent != NULL);
+
/*
* Catch end of a subsection.
*/
/*
* As a hack, allow any operators when using &foo=bar
*/
- if ((!parent || !frame->special) && (buff[1][0] != '&')) {
+ if (!frame->special && (buff[1][0] != '&')) {
ERROR("%s[%d]: Invalid operator in assignment for %s ...",
frame->filename, frame->lineno, buff[1]);
return -1;