[gegl] tests: Silence -Wunused-variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: Silence -Wunused-variable
- Date: Mon, 20 Mar 2017 10:03:07 +0000 (UTC)
commit 0c6f3cca3e0ac8af6ce8e2cec1643b7073093e0f
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 20 10:54:32 2017 +0100
tests: Silence -Wunused-variable
tests/simple/test-buffer-sharing.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/simple/test-buffer-sharing.c b/tests/simple/test-buffer-sharing.c
index 94eccda..b80a86d 100644
--- a/tests/simple/test-buffer-sharing.c
+++ b/tests/simple/test-buffer-sharing.c
@@ -78,7 +78,6 @@ buffer_get_color(GeglBuffer *buffer) {
const int pixels = 1;
guint8 pixel[4];
GeglRectangle r = { 0, 0, 1, pixels };
- unsigned char contents[pixels*4];
const Babl *format = babl_format("R'G'B'A u8");
gegl_buffer_get(buffer, &r, 1.0, format, (gpointer)(pixel), GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_CLAMP);
GeglColor *color = gegl_color_new(NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]