Skip to content
Snippets Groups Projects
Commit 0427b9c5 authored by Stefan Brüns's avatar Stefan Brüns Committed by Simon Glass
Browse files

cmd/tpm_test: Fix misleading code indentation


GCC 6.2 reasonably complains about the current code:

../cmd/tpm_test.c: In function ‘do_tpmtest’:
../cmd/tpm_test.c:540:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   for (i = 0; i < argc; i++)
   ^~~
../cmd/tpm_test.c:542:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
    printf("\n------\n");
    ^~~~~~

Signed-off-by: default avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Updated to remove C99 variable decl:
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 9ae0e143
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment