aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-04-25 11:10:37 +0200
committerHans Bolinder <[email protected]>2013-05-06 12:14:13 +0200
commit88eea0e9a22099a1425553381cfb72f646cb2abf (patch)
tree15cde00650dcd78a236f54069058927f3ea4faaf /erts
parent406413f90cc5d45e17df158b9e742112e9f7657e (diff)
downloadotp-88eea0e9a22099a1425553381cfb72f646cb2abf.tar.gz
otp-88eea0e9a22099a1425553381cfb72f646cb2abf.tar.bz2
otp-88eea0e9a22099a1425553381cfb72f646cb2abf.zip
Fix unmatched_return warning in erl_prim_loader
Diffstat (limited to 'erts')
-rw-r--r--erts/preloaded/src/erl_prim_loader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erl_prim_loader.erl b/erts/preloaded/src/erl_prim_loader.erl
index e8ddfc4a57..81522e293a 100644
--- a/erts/preloaded/src/erl_prim_loader.erl
+++ b/erts/preloaded/src/erl_prim_loader.erl
@@ -1041,7 +1041,7 @@ apply_archive(PS, Fun, Acc, Archive) ->
apply_archive(PS, Fun, Acc, Archive);
Error ->
debug(PS, {cache, {clear, Error}}),
- clear_cache(Archive, {ok, PrimZip}),
+ ok = clear_cache(Archive, {ok, PrimZip}),
apply_archive(PS, Fun, Acc, Archive)
end;
{Cache, FI} ->