8326 logger: misleading-indentation

Review Request #562 — Created June 4, 2017 and submitted

tsoome
illumos-gate
8326
d779112...
general
logger.c: In function 'main':
logger.c:145:2: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
  while ((opt = getopt(argc, argv, "it:p:f:")) != EOF)
  ^~~~~
logger.c:177:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   argc -= optind;
   ^~~~
cc1: all warnings being treated as errors


tsoome
rm
  1. Ship It!
  2. 
      
gwr
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...