[Dnsmasq-discuss] Compiler warning about indentation
John Byrne
jbyrne at alumni.caltech.edu
Sun Jan 16 00:55:04 UTC 2022
While I was trying to cheat my problem into existence, I saw the following warning:
option.c: In function ‘one_opt’:
option.c:2563:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
2563 | else
| ^~~~
option.c:2566:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
2566 | arg = comma;
| ^~~
Looks like this is the culprit:
commit 011f8cf1d011ade2f9e7231fca3cabfb1e8eaf06
Author: Simon Kelley <simon at thekelleys.org.uk>
Date: Sat Jan 1 23:33:39 2022 +0000
Tidy code for --umbrella option.
More information about the Dnsmasq-discuss
mailing list