[Piglit] [PATCH 1/2] tests: remove unused variable from ext_image_dma_buf_import/refcount

Dylan Baker dylan at pnwbakers.com
Fri Sep 30 20:19:47 UTC 2016


tests/spec/ext_image_dma_buf_import/refcount.c:59:6: warning: unused variable ‘cpp’
  int cpp = 4;
      ^~~

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/spec/ext_image_dma_buf_import/refcount.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/spec/ext_image_dma_buf_import/refcount.c b/tests/spec/ext_image_dma_buf_import/refcount.c
index bc15ff5..7ea200e 100644
--- a/tests/spec/ext_image_dma_buf_import/refcount.c
+++ b/tests/spec/ext_image_dma_buf_import/refcount.c
@@ -56,7 +56,6 @@ piglit_display(void)
 		0xff, 0x00, 0x00, 0xff,
 		0xff, 0xff, 0xff, 0xff
 	};
-	int cpp = 4;
 	enum piglit_result res;
 	struct piglit_dma_buf *buf;
 	EGLImageKHR img1, img2;
-- 
2.10.0



More information about the Piglit mailing list