Skip to content

Commit

Permalink
added nullcheck for functions not having entry point (non implemented…
Browse files Browse the repository at this point in the history
… functions)
  • Loading branch information
Tiko7454 committed Jun 26, 2023
1 parent 6e15671 commit cee0c6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slither/solc_parsing/declarations/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ def analyze_content(self) -> None:

self._remove_alone_endif()

self._update_reachability(self._function.entry_point)
if self._function.entry_point:
self._update_reachability(self._function.entry_point)

# endregion
###################################################################################
Expand Down

0 comments on commit cee0c6b

Please sign in to comment.