commit | 53d72d936d7d5aa64b98ad0d195eae5452d2c4a4 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Feb 21 10:18:28 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 11:36:42 2022 +0100 |
tree | 4bcc7c10b18401640b80ea58fe07a251301ca74e | |
parent | 0004837713f0222a946d87ce7ae04d6b4bb2f08c [diff] [blame] |
schema compile amend UPDATE explicit check for coverity
diff --git a/src/schema_compile_amend.c b/src/schema_compile_amend.c index cf509c7..8593de8 100644 --- a/src/schema_compile_amend.c +++ b/src/schema_compile_amend.c
@@ -274,6 +274,8 @@ { struct lysp_stmt *ch; + assert(!*child); + LY_LIST_FOR(orig_child, orig_child) { /* new child */ if (!*child) {