mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix some Wunused-but-set warnings (#1666)
To the best of my understanding, these occurrences of the `-Wunused-but-set` warnings do not reveal any underlying issues, so we can safely remove these variables. There are more occurrences of this warning in other places (not touched by this commit) that require further analysis. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
8e74722a0a
commit
a70fa56003
@@ -337,7 +337,6 @@ static int create_shuffle_kernel( cl_context context, cl_program *outProgram, cl
|
||||
MTdata d, ShuffleMode shuffleMode = kNormalMode )
|
||||
{
|
||||
char inOrder[18], shuffledOrder[18];
|
||||
size_t typeSize;
|
||||
char kernelSource[MAX_PROGRAM_SIZE], progLine[ 10240 ];
|
||||
char *programPtr;
|
||||
char inSizeName[4], outSizeName[4], outRealSizeName[4], inSizeArgName[4];
|
||||
@@ -354,9 +353,6 @@ static int create_shuffle_kernel( cl_context context, cl_program *outProgram, cl
|
||||
else
|
||||
strcpy( inSizeArgName, inSizeName );
|
||||
|
||||
|
||||
typeSize = get_explicit_type_size( vecType );
|
||||
|
||||
*outRealVecSize = outVecSize;
|
||||
|
||||
if( outVecSize == 1 || (outVecSize == 3))
|
||||
|
||||
Reference in New Issue
Block a user