summaryrefslogtreecommitdiff
path: root/utests/compiler_fill_image0.cpp
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@intel.com>2013-01-17 14:50:14 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-04-10 14:52:32 +0800
commit95539512dd4b2b1f3f3ce475af677075b537d706 (patch)
treea06d4f31541c728a329dd1ab64b9d905229d9dc5 /utests/compiler_fill_image0.cpp
parentf7d8c2207e21aa1d6f361519bc628782e4097873 (diff)
downloadbeignet-95539512dd4b2b1f3f3ce475af677075b537d706.tar.gz
fix two unused variables
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>
Diffstat (limited to 'utests/compiler_fill_image0.cpp')
-rw-r--r--utests/compiler_fill_image0.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/utests/compiler_fill_image0.cpp b/utests/compiler_fill_image0.cpp
index cfb6b874..ed92432f 100644
--- a/utests/compiler_fill_image0.cpp
+++ b/utests/compiler_fill_image0.cpp
@@ -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;