diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-01-19 13:40:29 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2015-03-24 22:54:49 -0700 |
commit | ad264160544aa66648bb2a7e0fc785f234a711b1 (patch) | |
tree | bb7af0326c0ff7d34fd0bec62326c3851655f0bd | |
parent | cbf36fb614fd736f1c18424fed6f202377280a9c (diff) |
arb_direct_state_access: Ignore scanf return value.
Silence unchecked return value from library defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | tests/spec/arb_direct_state_access/getcompressedtextureimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_direct_state_access/getcompressedtextureimage.c b/tests/spec/arb_direct_state_access/getcompressedtextureimage.c index 84aa30bf3..5403d16e5 100644 --- a/tests/spec/arb_direct_state_access/getcompressedtextureimage.c +++ b/tests/spec/arb_direct_state_access/getcompressedtextureimage.c @@ -83,7 +83,7 @@ show_image(GLubyte *data, int num_layers, const char *title) /* Pause. */ printf("Enter any char to continue.\n>>>>>>"); - scanf("%s", junk); + (void) scanf("%s", junk); printf("\n"); glDeleteTextures(1, &name); |