commit | 53bf6f2128a513829f06879c0842b1f3b0f4b0b4 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 14 08:23:40 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 14 08:23:40 2020 +0200 |
tree | 7a7160300f8fa37531f0704f882ff165b614adbe | |
parent | 795b37518e075b1397f3fa79e387c57bded2f04a [diff] [blame] |
diff MAINTENANCE return check
diff --git a/src/diff.c b/src/diff.c index d0ee123..e69f52a 100644 --- a/src/diff.c +++ b/src/diff.c
@@ -1374,7 +1374,7 @@ assert(mod); /* get node operation */ - lyd_diff_get_op(diff, &op); + LY_CHECK_RET(lyd_diff_get_op(diff, &op), 0); if ((op == LYD_DIFF_OP_REPLACE) && lysc_is_userordered(diff->schema)) { /* check for redundant move */