Skip to content
Permalink
Browse files Browse the repository at this point in the history
resolve BUGFIX handle yet unresolved if-features
Fixes #772
  • Loading branch information
michalvasko committed Apr 29, 2019
1 parent 1e375cc commit bdb596d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve.c
Expand Up @@ -1402,7 +1402,7 @@ resolve_iffeature(struct lys_iffeature *expr)
{
int index_e = 0, index_f = 0;

if (expr->expr) {
if (expr->expr && expr->features[0]) {
return resolve_iffeature_recursive(expr, &index_e, &index_f);
}
return 0;
Expand Down

0 comments on commit bdb596d

Please sign in to comment.