Fix CID 304858 reported by Coverity Scan
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
5d7f2fd438
commit
93c75186f0
1 changed files with 2 additions and 1 deletions
|
@ -220,6 +220,7 @@ printcomplextype(
|
||||||
} else {
|
} else {
|
||||||
assert(cnt > 1);
|
assert(cnt > 1);
|
||||||
ce = firstelem(elem->children);
|
ce = firstelem(elem->children);
|
||||||
|
assert(ce);
|
||||||
min[0] = min[1] = minimum(ce);
|
min[0] = min[1] = minimum(ce);
|
||||||
max[0] = max[1] = maximum(ce);
|
max[0] = max[1] = maximum(ce);
|
||||||
assert(min[1] <= max[1] || max[1] == 0);
|
assert(min[1] <= max[1] || max[1] == 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue