aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-04-20 17:16:35 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-04-27 16:51:11 +0200
commitd66aa79613e1bc4bdb494425cf693eb652a9e424 (patch)
treea74f167e179f6aac4be19a38041c886957f15516 /lib/gs
parent784cbadcbbb7ef80dc1b90b65341ac7e2859f234 (diff)
downloadotp-d66aa79613e1bc4bdb494425cf693eb652a9e424.tar.gz
otp-d66aa79613e1bc4bdb494425cf693eb652a9e424.tar.bz2
otp-d66aa79613e1bc4bdb494425cf693eb652a9e424.zip
gs: Suppress ignored result warning
* The whole 'handle_external_read' seems suspicious Keep original behaviour and just suppress
Diffstat (limited to 'lib/gs')
-rw-r--r--lib/gs/src/gstk_generic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gs/src/gstk_generic.erl b/lib/gs/src/gstk_generic.erl
index 10cb890013..9b0efd07c1 100644
--- a/lib/gs/src/gstk_generic.erl
+++ b/lib/gs/src/gstk_generic.erl
@@ -323,7 +323,7 @@ handle_external_opt_call([Opt|Options],Gstkid,TkW,DB,ExtraArg,ExtRes,S,P,C) ->
end.
handle_external_read(Res) ->
- case Res of
+ _ = case Res of
{bad_result,{Objtype,Reason,Option}} ->
{error,{Objtype,Reason,Option}};
_ -> ok