Fix reserved vars not being excluded when no --exclude-var specified

This commit is contained in:
zawz 2020-11-06 18:20:13 +01:00
parent ee05577a2d
commit 99957ee3e5

View file

@ -46,6 +46,8 @@ void get_opts()
g_resolve=!options["no-resolve"].activated;
if(options["exclude-var"])
re_var_exclude=var_exclude_regex(options["exclude-var"]);
else
re_var_exclude=var_exclude_regex("");
if(options["exclude-fct"])
re_fct_exclude=fct_exclude_regex(options["exclude-fct"]);
}