summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-02-03 19:42:27 +0100
committerFlorian Westphal <fw@strlen.de>2021-02-05 12:35:48 +0100
commit0c189656148d834b17aa9d98b0b11018bc9d2465 (patch)
tree8e21ff93bd0d910426bba52415c71602fa34168c /src/parser_bison.y
parent87ef765a9ad4477b324c06d187d8ea5e521ed2cf (diff)
evaluate: do not crash if dynamic set has no statements
list_first_entry() returns garbage when the list is empty. There is no need to run the following loop if we have no statements, so just return 0. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions