aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-17 15:52:13 +0200
committerZandra <[email protected]>2016-05-24 09:59:02 +0200
commitf18d4019fcad4bb98337470a0e2600ec0589dda6 (patch)
treedec2f58d350e9f0ff91d9972a335696bcebcc01c
parent81f3775e8e515672d18863b93992afe1e1cee6d0 (diff)
downloadotp-f18d4019fcad4bb98337470a0e2600ec0589dda6.tar.gz
otp-f18d4019fcad4bb98337470a0e2600ec0589dda6.tar.bz2
otp-f18d4019fcad4bb98337470a0e2600ec0589dda6.zip
i - fix unmatched_return warnings
-rw-r--r--lib/debugger/src/i.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugger/src/i.erl b/lib/debugger/src/i.erl
index 4ed5265bdf..2da3e77618 100644
--- a/lib/debugger/src/i.erl
+++ b/lib/debugger/src/i.erl
@@ -108,7 +108,7 @@ ib(Module,Function,Arity) ->
ib(Module,Function,Arity,Cond) ->
Breaks1 = int:all_breaks(Module),
- int:break_in(Module,Function,Arity),
+ ok = int:break_in(Module,Function,Arity),
Breaks2 = int:all_breaks(Module),
lists:foreach(fun({Mod,Line}) -> int:test_at_break(Mod,Line,Cond) end,
Breaks2--Breaks1).