explorer: fix UnboundLocalError

closes #1217
This commit is contained in:
Willi Ballenthin
2022-12-07 13:39:55 +00:00
parent 662ec11031
commit 45d007fa9a

View File

@@ -916,6 +916,7 @@ class CapaExplorerForm(idaapi.PluginForm):
logger.error("Failed to match function/basic block rule scope (error: %s)", e)
return False
else:
fh = None
func_features = {}
except UserCancelledError:
logger.info("User cancelled analysis.")