diff options
Diffstat (limited to 'tests/util/piglit-framework-gl.c')
-rw-r--r-- | tests/util/piglit-framework-gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-framework-gl.c b/tests/util/piglit-framework-gl.c index 1973dbcef..9748ddf03 100644 --- a/tests/util/piglit-framework-gl.c +++ b/tests/util/piglit-framework-gl.c @@ -245,7 +245,7 @@ piglit_present_results(void) base_format, GL_UNSIGNED_BYTE, image); assert(glGetError() == GL_NO_ERROR); - asprintf(&filename, "%s%03d.png", fileprefix, frame++); + (void)!asprintf(&filename, "%s%03d.png", fileprefix, frame++); printf("Writing %s...\n", filename); piglit_write_png(filename, base_format, piglit_width, |