[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:
Sven van Haastregt
2023-03-27 12:03:07 +01:00
committed by GitHub
parent c3d36bf9fb
commit 8352966818

View File

@@ -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)