aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/test_server_gl.erl
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-24 08:29:24 +0200
committerZandra Hird <[email protected]>2016-06-07 17:25:28 +0200
commitde0851734b242acbd50e7bb67a169efe0d412c8f (patch)
tree2f2db144b8278e79782f298227a04e5db57ff853 /lib/common_test/src/test_server_gl.erl
parentf767b5dd1fa35c4151ae71eedf382d4e812f28da (diff)
downloadotp-de0851734b242acbd50e7bb67a169efe0d412c8f.tar.gz
otp-de0851734b242acbd50e7bb67a169efe0d412c8f.tar.bz2
otp-de0851734b242acbd50e7bb67a169efe0d412c8f.zip
test_server_gl - Fix unmatched_return warnings
Diffstat (limited to 'lib/common_test/src/test_server_gl.erl')
-rw-r--r--lib/common_test/src/test_server_gl.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common_test/src/test_server_gl.erl b/lib/common_test/src/test_server_gl.erl
index 333c8fc06e..7d6fe64b92 100644
--- a/lib/common_test/src/test_server_gl.erl
+++ b/lib/common_test/src/test_server_gl.erl
@@ -185,7 +185,7 @@ handle_info({capture,Cap0}, St) ->
end,
{noreply,St#st{capture=Cap}};
handle_info({io_request,From,ReplyAs,Req}=IoReq, St) ->
- try io_req(Req, From, St) of
+ _ = try io_req(Req, From, St) of
passthrough ->
group_leader() ! IoReq;
{EscapeHtml,Data} ->
@@ -197,7 +197,8 @@ handle_info({io_request,From,ReplyAs,Req}=IoReq, St) ->
#st{capture=none} ->
ok;
#st{capture=CapturePid} ->
- CapturePid ! {captured,Data}
+ CapturePid ! {captured,Data},
+ ok
end,
case EscapeHtml andalso St#st.escape_chars of
true ->