fix two unused variables
authorLu Guanqun <guanqun.lu@intel.com>
Thu, 17 Jan 2013 06:50:14 +0000 (14:50 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:52:32 +0000 (14:52 +0800)
I don't find these two warnings until now, and here's the simple fix.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/compiler_fill_image.cpp
utests/compiler_fill_image0.cpp

index bf7fe8d..b15cdff 100644 (file)
@@ -5,7 +5,6 @@ static void compiler_fill_image(void)
   const size_t w = 512;
   const size_t h = 512;
   cl_image_format format;
-  cl_sampler sampler;
   uint32_t color = 0x12345678;
 
   format.image_channel_order = CL_RGBA;
index cfb6b87..ed92432 100644 (file)
@@ -5,7 +5,6 @@ static void compiler_fill_image0(void)
   const size_t w = 512;
   const size_t h = 512;
   cl_image_format format;
-  cl_sampler sampler;
 
   format.image_channel_order = CL_RGBA;
   format.image_channel_data_type = CL_UNSIGNED_INT8;