summaryrefslogtreecommitdiff
path: root/src/mod_irc/iconv.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_irc/iconv.erl')
-rw-r--r--src/mod_irc/iconv.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mod_irc/iconv.erl b/src/mod_irc/iconv.erl
index f4539812..b3502c55 100644
--- a/src/mod_irc/iconv.erl
+++ b/src/mod_irc/iconv.erl
@@ -50,15 +50,15 @@ handle_call(_, _, State) ->
handle_cast(_, State) ->
{noreply, State}.
-handle_info({'EXIT', Pid, Reason}, Port) ->
+handle_info({'EXIT', _Pid, _Reason}, Port) ->
{noreply, Port};
-
-handle_info({'EXIT', Port, Reason}, Port) ->
- {stop, {port_died, Reason}, Port};
+%% TODO: Check this clause, because it never matches:
+%%handle_info({'EXIT', Port, Reason}, Port) ->
+%% {stop, {port_died, Reason}, Port};
handle_info(_, State) ->
{noreply, State}.
-code_change(OldVsn, State, Extra) ->
+code_change(_OldVsn, State, _Extra) ->
{ok, State}.
terminate(_Reason, Port) ->