Silence unchecked return value from library defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
---
tests/spec/arb_direct_state_access/getcompressedtextureimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_direct_state_access/getcompressedtextureimage.c
b/tests/spec/arb_direct_state_access/getcompressedtextureimage.c
index 9546af5..7648cb3 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);
--
2.2.1
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit