Skip to content

Commit

Permalink
Remove unnecessary elp-ignore
Browse files Browse the repository at this point in the history
Summary: These were introduced due to a bug in ELP that would report a bogus unusued variable. The bug has since then fixed, so we can remove.

Reviewed By: thizanne

Differential Revision: D68637178

fbshipit-source-id: 6f74fe82302b9a962df19b9266b7d94cd87cd086
  • Loading branch information
jcpetruzza authored and facebook-github-bot committed Jan 25, 2025
1 parent 1aec78f commit d2af853
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/edb_server_inspect.erl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ has_breakpoint_frame([_ | MoreFrames]) -> has_breakpoint_frame(MoreFrames).
when
RawFrame :: erl_debugger:stack_frame(),
ExtraInfo :: undefined | top_frame | RawFrame.
% elp:ignore W0010 - T199490163 False positive
lookup_raw_frame(FrameId, [TopFrame = {FrameId, _, _} | MoreFrames]) ->
avoiding_frame_leaks({TopFrame, top_frame}, MoreFrames);
lookup_raw_frame(FrameId, RawFrames) ->
Expand All @@ -173,10 +172,8 @@ when
OptBpFrame :: undefined | top_frame | RawFrame,
RawFrame :: erl_debugger:stack_frame(),
ExtraInfo :: undefined | top_frame | RawFrame.
% elp:ignore W0010 - T199490163 False positive
lookup_raw_frame_1(FrameId, undefined, Frames = [FoundFrame = {FrameId, _, _} | _]) ->
avoiding_frame_leaks({FoundFrame, undefined}, Frames);
% elp:ignore W0010 - T199490163 False positive
lookup_raw_frame_1(FrameId, BpFrame, [FoundFrame = {FrameId, _, _} | _]) ->
{FoundFrame, BpFrame};
lookup_raw_frame_1(FrameId, undefined, [BpFrame = {_, '<breakpoint>', _} | Rest]) ->
Expand Down

0 comments on commit d2af853

Please sign in to comment.