Skip to content

Commit

Permalink
fixed dfs
Browse files Browse the repository at this point in the history
  • Loading branch information
t.avagyan committed Jun 23, 2023
1 parent d75d8d8 commit 3e2ed00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slither/solc_parsing/declarations/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ def analyze_content(self) -> None:

self._remove_alone_endif()

self._update_reachability(self._function.entry_point)

# endregion
###################################################################################
###################################################################################
Expand Down Expand Up @@ -1127,8 +1129,6 @@ def _parse_cfg(self, cfg: Dict) -> None:
self._remove_incorrect_edges()
self._remove_alone_endif()

self._update_reachability(self._function.entry_point)

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

0 comments on commit 3e2ed00

Please sign in to comment.