commit | ffdf4ceaca3f97a011118976e43cfe2976742a16 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:31:49 2018 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:31:49 2018 +0200 |
tree | 0d5e21dd258b9e66ed09b70658e5da6d3ad3ccde | |
parent | f685f0586c8e77c6c2c5226d707460ee594968f3 [diff] [blame] |
resolve BUGFIX use of uninitialized variable
diff --git a/src/resolve.c b/src/resolve.c index e482611..e5d50b7 100644 --- a/src/resolve.c +++ b/src/resolve.c
@@ -7252,7 +7252,9 @@ ++res_count; ret = -1; } else { - ly_ilo_restore(ctx, prev_ilo, prev_eitem, 1); + if (forward_ref) { + ly_ilo_restore(ctx, prev_ilo, prev_eitem, 1); + } return -1; } }