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

@@ -181,9 +181,8 @@ test_arraycopy(cl_device_id device, cl_context context, cl_command_queue queue,
}
}
// Keep track of multiple errors.
if (error_count != 0)
err = error_count;
// Keep track of multiple errors.
if (error_count != 0) err = error_count;
if (err)
log_error("\tCL_MEM_USE_HOST_PTR buffer with kernel copy FAILED\n");