summaryrefslogtreecommitdiff
path: root/utests/compiler_fill_image.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_image.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_image.cpp')
-rw-r--r--utests/compiler_fill_image.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/utests/compiler_fill_image.cpp b/utests/compiler_fill_image.cpp
index bf7fe8da..b15cdffe 100644
--- a/utests/compiler_fill_image.cpp
+++ b/utests/compiler_fill_image.cpp
@@ -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;