diff options
author | Siri Hansen <[email protected]> | 2013-04-26 14:21:12 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-05-06 12:14:14 +0200 |
commit | 19d41eefa1cf4856587930d99959bbed73a818b5 (patch) | |
tree | 51cbb92f4e3e6ae31d678c26e4f49056f144af2e /lib/sasl/src/sasl_report_file_h.erl | |
parent | f52452309cf68da898a1768eb6e8b6767e602bc7 (diff) | |
download | otp-19d41eefa1cf4856587930d99959bbed73a818b5.tar.gz otp-19d41eefa1cf4856587930d99959bbed73a818b5.tar.bz2 otp-19d41eefa1cf4856587930d99959bbed73a818b5.zip |
Fix unmatched_return warnings in sasl
Diffstat (limited to 'lib/sasl/src/sasl_report_file_h.erl')
-rw-r--r-- | lib/sasl/src/sasl_report_file_h.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sasl/src/sasl_report_file_h.erl b/lib/sasl/src/sasl_report_file_h.erl index f4810d31cc..f42b4b5ff2 100644 --- a/lib/sasl/src/sasl_report_file_h.erl +++ b/lib/sasl/src/sasl_report_file_h.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2009. All Rights Reserved. +%% Copyright Ericsson AB 1996-2013. 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 @@ -40,7 +40,7 @@ init({File, Type}) -> handle_event({_Type, GL, _Msg}, State) when node(GL) /= node() -> {ok, State}; handle_event(Event, {Fd, File, Type}) -> - sasl_report:write_report(Fd, Type, tag_event(Event)), + _ = sasl_report:write_report(Fd, Type, tag_event(Event)), {ok, {Fd, File, Type}}; handle_event(_, State) -> {ok, State}. @@ -53,7 +53,7 @@ handle_info(_, State) -> handle_call(_Query, _State) -> {error, bad_query}. terminate(_, {Fd, _File, _Type}) -> - file:close(Fd), + _ = file:close(Fd), []. tag_event(Event) -> |