Fix misleading indentation and enable -Wmisleading-indentation (#1458)

Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
Stuart Brady
2022-08-02 18:16:03 +01:00
committed by GitHub
parent bd03e17a56
commit cdf5a105fc
13 changed files with 72 additions and 75 deletions

View File

@@ -223,14 +223,13 @@ test_sign(cl_device_id device, cl_context context, cl_command_queue queue, int n
free(input_ptr[0]);
free(output_ptr);
if(err)
return err;
if (err) return err;
if( ! is_extension_available( device, "cl_khr_fp64"))
{
log_info( "skipping double test -- cl_khr_fp64 not supported.\n" );
return 0;
}
if (!is_extension_available(device, "cl_khr_fp64"))
{
log_info("skipping double test -- cl_khr_fp64 not supported.\n");
return 0;
}
return test_sign_double( device, context, queue, n_elems);
}