diff options
author | Zandra <[email protected]> | 2016-05-30 11:00:28 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2016-06-07 14:33:55 +0200 |
commit | 1d4178bd3001956f3bbfd67e76554e99e6ca351f (patch) | |
tree | bdd7c66f2f604dc1843376d9613b2cbf813931ec /lib/common_test/src | |
parent | a6da9d5d54f6d30ab2c75c39589d1556c53060a8 (diff) | |
download | otp-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.erl | 2 |
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}; |