Skip to content

Commit 03fe620

Browse files
committed
yanglint REFACTOR put brackets outside macros
1 parent 8ca1f3d commit 03fe620

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/lint/main_ni.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,10 +518,11 @@ fill_context(int argc, char *argv[], struct context *c)
518518

519519
opterr = 0;
520520
#ifndef NDEBUG
521-
while ((opt = getopt_long(argc, argv, "hvVQf:p:DF:iP:qs:net:d:lL:o:O:R:myY:G:", options, &opt_index)) != -1) {
521+
while ((opt = getopt_long(argc, argv, "hvVQf:p:DF:iP:qs:net:d:lL:o:O:R:myY:G:", options, &opt_index)) != -1)
522522
#else
523-
while ((opt = getopt_long(argc, argv, "hvVQf:p:DF:iP:qs:net:d:lL:o:O:R:myY:", options, &opt_index)) != -1) {
523+
while ((opt = getopt_long(argc, argv, "hvVQf:p:DF:iP:qs:net:d:lL:o:O:R:myY:", options, &opt_index)) != -1)
524524
#endif
525+
{
525526
switch (opt) {
526527
case 'h': /* --help */
527528
help(0);

0 commit comments

Comments
 (0)