[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:
parent
c3d36bf9fb
commit
8352966818
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue