Cleanup, debug stmts, diff vars and obsolete compile options

This commit is contained in:
Olof hagsand 2022-06-23 12:36:17 +02:00
parent bdb516fec9
commit 33c77c8a09
4 changed files with 6 additions and 19 deletions

View file

@ -303,6 +303,10 @@ filter_xpath_again(clicon_handle h,
int retval = -1;
int i;
if (xret == NULL){
clicon_err(OE_PLUGIN, EINVAL, "xret is NULL");
goto done;
}
/* If vectors are specified then mark the nodes found and
* then filter out everything else,
* otherwise return complete tree.