Permalink
Browse files

gs: Suppress ignored result warning

  * The whole 'handle_external_read' seems suspicious
    Keep original behaviour and just suppress
  • Loading branch information...
1 parent 784cbad commit d66aa79613e1bc4bdb494425cf693eb652a9e424 @psyeugenic psyeugenic committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit d66aa79

Please sign in to comment.