aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/application.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-02-12 16:38:48 +0100
committerHans Bolinder <[email protected]>2014-02-12 16:38:48 +0100
commitf43fb209d5f5452df9be505f64a29dbe6ac43b33 (patch)
tree5d75561200970148449f5adfd269281760d56cc5 /lib/kernel/src/application.erl
parent152f1a4ba2f4e2f0dfbcde2efe5b5fd5edbdb986 (diff)
downloadotp-f43fb209d5f5452df9be505f64a29dbe6ac43b33.tar.gz
otp-f43fb209d5f5452df9be505f64a29dbe6ac43b33.tar.bz2
otp-f43fb209d5f5452df9be505f64a29dbe6ac43b33.zip
Fix a few of Dialyzer's unmatched_return warnings
Diffstat (limited to 'lib/kernel/src/application.erl')
-rw-r--r--lib/kernel/src/application.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/application.erl b/lib/kernel/src/application.erl
index 4e8ba1b78a..c3bf1ac012 100644
--- a/lib/kernel/src/application.erl
+++ b/lib/kernel/src/application.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -132,7 +132,7 @@ ensure_all_started(Application, Type) ->
{ok, Started} ->
{ok, lists:reverse(Started)};
{error, Reason, Started} ->
- [stop(App) || App <- Started],
+ _ = [stop(App) || App <- Started],
{error, Reason}
end.