aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/observer_SUITE.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-09-14 17:01:50 +0200
committerSiri Hansen <[email protected]>2017-09-18 11:07:09 +0200
commit619f6c801008f0e4c50366ae5e6f1bca7f64c2b8 (patch)
tree1529fe66ee3b2bbe36a485e95f696377cda5c488 /lib/observer/test/observer_SUITE.erl
parent990ddca5415d196bf7543a57a86aa47da13706c6 (diff)
downloadotp-619f6c801008f0e4c50366ae5e6f1bca7f64c2b8.tar.gz
otp-619f6c801008f0e4c50366ae5e6f1bca7f64c2b8.tar.bz2
otp-619f6c801008f0e4c50366ae5e6f1bca7f64c2b8.zip
observer: Remove compiler warnings in test and set warnings_as_errors
Diffstat (limited to 'lib/observer/test/observer_SUITE.erl')
-rw-r--r--lib/observer/test/observer_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/test/observer_SUITE.erl b/lib/observer/test/observer_SUITE.erl
index 41726b1521..234cf96298 100644
--- a/lib/observer/test/observer_SUITE.erl
+++ b/lib/observer/test/observer_SUITE.erl
@@ -304,10 +304,10 @@ table_win(Config) when is_list(Config) ->
%% Test PR-1296/OTP-14151
%% Clicking a link to a port before the port tab has been activated the
%% first time crashes observer.
-port_win_when_tab_not_initiated(Config) ->
+port_win_when_tab_not_initiated(_Config) ->
{ok,Port} = gen_tcp:listen(0,[]),
ok = observer:start(),
- Notebook = setup_whitebox_testing(),
+ _Notebook = setup_whitebox_testing(),
observer ! {open_link,erlang:port_to_list(Port)},
timer:sleep(1000),
observer:stop(),