diff options
author | Dave Airlie <[email protected]> | 2015-10-31 16:19:43 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-11-08 06:27:02 +1000 |
commit | 87711183ac35d85ca7d2c2ee67536fe689d6bef3 (patch) | |
tree | 7c8fb7c681612934638a75db40e8565250709e24 /src/mapi/glapi/glapi_entrypoint.c | |
parent | 6c731d85666abb61c49e5b4affa196545f5ac086 (diff) |
virgl: wrap ret assignment with braces to do correct thing
Coverity reported that ret could only be 0 or 1, since it
was setting ret = fn() > 0, instead of doing (ret = fn()) > 0.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mapi/glapi/glapi_entrypoint.c')
0 files changed, 0 insertions, 0 deletions