diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2020-07-22 09:25:28 +0200 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2020-07-22 09:25:28 +0200 |
commit | 9479868275843596056eed1ef697b15557227303 (patch) | |
tree | 68d15ae64c13969c137c82fafe2d4124523b75c1 | |
parent | 6dcec99e18da1c750b52373906f069c360bbe477 (diff) |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -std=gnu99 -pedantic -pthread -D_FORTIFY_SOURCE=2 -fstack-protector -c -DINSTALL_DATADIR=\"/usr/local/share\" -g -O2 -MT libarmep_la-protocol.lo -MD -MP -MF .deps/libarmep_la-protocol.Tpo -c protocol.c -fPIC -DPIC -o .libs/libarmep_la-protocol.o
protocol.c: In function ‘aep_protocol_parser’:
protocol.c:238:4: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if (v != 0xac)
^~
protocol.c:241:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (aep->aep_context->verbose)
^~
cc1: all warnings being treated as errors
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r-- | libarmep/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarmep/protocol.c b/libarmep/protocol.c index ad05c64..0a10c55 100644 --- a/libarmep/protocol.c +++ b/libarmep/protocol.c @@ -238,7 +238,7 @@ int aep_protocol_parser(struct aep *aep, int samples) if (v != 0xac) return -1; - if (aep->aep_context->verbose) + if (aep->aep_context->verbose) fprintf(stderr, "Start acknowledge seen " "%s %s %08X %d\n", |