summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-01-19 13:40:29 -0800
committerVinson Lee <vlee@freedesktop.org>2015-03-24 22:54:49 -0700
commitad264160544aa66648bb2a7e0fc785f234a711b1 (patch)
treebb7af0326c0ff7d34fd0bec62326c3851655f0bd
parentcbf36fb614fd736f1c18424fed6f202377280a9c (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.c2
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);