aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src/release_handler_1.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-04-26 14:21:12 +0200
committerHans Bolinder <[email protected]>2013-05-06 12:14:14 +0200
commit19d41eefa1cf4856587930d99959bbed73a818b5 (patch)
tree51cbb92f4e3e6ae31d678c26e4f49056f144af2e /lib/sasl/src/release_handler_1.erl
parentf52452309cf68da898a1768eb6e8b6767e602bc7 (diff)
downloadotp-19d41eefa1cf4856587930d99959bbed73a818b5.tar.gz
otp-19d41eefa1cf4856587930d99959bbed73a818b5.tar.bz2
otp-19d41eefa1cf4856587930d99959bbed73a818b5.zip
Fix unmatched_return warnings in sasl
Diffstat (limited to 'lib/sasl/src/release_handler_1.erl')
-rw-r--r--lib/sasl/src/release_handler_1.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sasl/src/release_handler_1.erl b/lib/sasl/src/release_handler_1.erl
index b37ae2f944..fa6ef77b2d 100644
--- a/lib/sasl/src/release_handler_1.erl
+++ b/lib/sasl/src/release_handler_1.erl
@@ -349,7 +349,7 @@ eval({load, {Mod, _PrePurgeMethod, PostPurgeMethod}}, EvalState) ->
{value, {_Mod, Bin, File}} = lists:keysearch(Mod, 1, Bins),
% load_binary kills all procs running old code
% if soft_purge, we know that there are no such procs now
- code:load_binary(Mod, File, Bin),
+ {module,_} = code:load_binary(Mod, File, Bin),
% Now, the prev current is old. There might be procs
% running it. Find them.
Unpurged = do_soft_purge(Mod,PostPurgeMethod,EvalState#eval_state.unpurged),