aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-30 11:00:28 +0200
committerZandra Hird <[email protected]>2016-06-07 14:33:55 +0200
commit1d4178bd3001956f3bbfd67e76554e99e6ca351f (patch)
treebdd7c66f2f604dc1843376d9613b2cbf813931ec /lib/common_test/src
parenta6da9d5d54f6d30ab2c75c39589d1556c53060a8 (diff)
downloadotp-1d4178bd3001956f3bbfd67e76554e99e6ca351f.tar.gz
otp-1d4178bd3001956f3bbfd67e76554e99e6ca351f.tar.bz2
otp-1d4178bd3001956f3bbfd67e76554e99e6ca351f.zip
ct_hooks_lock: Fix unmatched_return warnings
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_hooks_lock.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_hooks_lock.erl b/lib/common_test/src/ct_hooks_lock.erl
index f41f259f7b..fea298e535 100644
--- a/lib/common_test/src/ct_hooks_lock.erl
+++ b/lib/common_test/src/ct_hooks_lock.erl
@@ -82,7 +82,7 @@ init(Id) ->
%% @doc Handling call messages
handle_call({stop,Id}, _From, #state{ id = Id, requests = Reqs } = State) ->
- [gen_server:reply(Req, locker_stopped) || {Req,_ReqId} <- Reqs],
+ _ = [gen_server:reply(Req, locker_stopped) || {Req,_ReqId} <- Reqs],
{stop, normal, stopped, State};
handle_call({stop,_Id}, _From, State) ->
{reply, stopped, State};