aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src/dbg_ieval.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 16:42:17 +0100
committerHans Bolinder <[email protected]>2016-02-17 09:17:32 +0100
commit98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6 (patch)
treecf9c6d10be4b980d9a8e1c05a0a79038b7893304 /lib/debugger/src/dbg_ieval.erl
parentd114f1166cd25b6fb7aedaddc9087ecca38fb3b2 (diff)
downloadotp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.tar.gz
otp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.tar.bz2
otp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.zip
debugger: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/debugger/src/dbg_ieval.erl')
-rw-r--r--lib/debugger/src/dbg_ieval.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/debugger/src/dbg_ieval.erl b/lib/debugger/src/dbg_ieval.erl
index 7ed371a653..f5e079ef7e 100644
--- a/lib/debugger/src/dbg_ieval.erl
+++ b/lib/debugger/src/dbg_ieval.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2015. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -560,7 +560,7 @@ get_function(Mod, Name, Args, extern) ->
end.
db_ref(Mod) ->
- case get([Mod|db]) of
+ case get(?DB_REF_KEY(Mod)) of
undefined ->
case dbg_iserver:call(get(int),
{get_module_db, Mod, get(self)}) of
@@ -572,7 +572,7 @@ db_ref(Mod) ->
Node =/= node() -> {Node,ModDb};
true -> ModDb
end,
- put([Mod|db], DbRef),
+ put(?DB_REF_KEY(Mod), DbRef),
DbRef
end;
DbRef ->