diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-04-21 13:12:17 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-05-09 16:25:29 +0200 |
commit | 03284538b628e8c312313ec006ada90518c1c192 (patch) | |
tree | 20f04605d464369acc36189eb43b3d850766605e /tests/util/piglit-framework-gl.c | |
parent | b4191ccae328224a5fe7a9b228f7c389a18edd17 (diff) |
Fix asprintf warnings
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, |