[gegl] removing unused variable warning



commit 16780d07095d1cf64ce782d0367738eb115b8636
Author: Victor Oliveira <victormatheus gmail com>
Date:   Wed Mar 28 10:34:46 2012 -0300

    removing unused variable warning

 gegl/opencl/gegl-cl-init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/opencl/gegl-cl-init.c b/gegl/opencl/gegl-cl-init.c
index a5df1a3..fb6f7a1 100644
--- a/gegl/opencl/gegl-cl-init.c
+++ b/gegl/opencl/gegl-cl-init.c
@@ -349,7 +349,7 @@ gegl_cl_compile_and_build (const char *program_source, const char *kernel_name[]
         {
           char *msg;
           size_t s;
-          cl_int build_errcode = errcode;
+          G_GNUC_UNUSED cl_int build_errcode = errcode;
 
           CL_SAFE_CALL( errcode = gegl_clGetProgramBuildInfo(cl_data->program,
                                                              gegl_cl_get_device(),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]