aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-17 15:39:11 +0200
committerZandra <[email protected]>2016-05-24 09:58:53 +0200
commit81f3775e8e515672d18863b93992afe1e1cee6d0 (patch)
treef9a044176c1888b7ad779f5d7c7775fc295dc111 /lib/debugger/src
parent0772a776aa2dc9553e81d62e8a8fd0d182137d4b (diff)
downloadotp-81f3775e8e515672d18863b93992afe1e1cee6d0.tar.gz
otp-81f3775e8e515672d18863b93992afe1e1cee6d0.tar.bz2
otp-81f3775e8e515672d18863b93992afe1e1cee6d0.zip
dbg_debugged - fix unmatched_return warnings
Diffstat (limited to 'lib/debugger/src')
-rw-r--r--lib/debugger/src/dbg_debugged.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/debugger/src/dbg_debugged.erl b/lib/debugger/src/dbg_debugged.erl
index 5b1469a10e..e142af4ae0 100644
--- a/lib/debugger/src/dbg_debugged.erl
+++ b/lib/debugger/src/dbg_debugged.erl
@@ -70,7 +70,10 @@ msg_loop(Meta, Mref, SaveStacktrace) ->
%% Meta is evaluating a receive, must be done within context
%% of real (=this) process
{sys, Meta, {'receive',Msg}} ->
- receive Msg -> Meta ! {self(), rec_acked} end,
+ receive Msg ->
+ Meta ! {self(), rec_acked},
+ ok
+ end,
msg_loop(Meta, Mref, SaveStacktrace);
%% Meta needs something evaluated within context of real process