mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] Remove unused imagePtr variable (#1682)
This variable is shadowed by another variable further down. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
c3d36bf9fb
commit
8352966818
@@ -434,7 +434,6 @@ int test_read_image_1D( cl_context context, cl_command_queue queue, cl_kernel ke
|
||||
float lod_float = (float)lod;
|
||||
size_t resultValuesSize = width_lod * get_explicit_type_size( outputType ) * 4;
|
||||
BufferOwningPtr<char> resultValues(malloc(resultValuesSize));
|
||||
char *imagePtr = (char*)imageValues + nextLevelOffset;
|
||||
if (gTestMipmaps) {
|
||||
//Set the lod kernel arg
|
||||
if(gDebugTrace)
|
||||
|
||||
Reference in New Issue
Block a user