8316 srchtxt: misleading-indentation

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

tsoome
illumos-gate
8316
29b5494...
general
srchtxt.c: In function 'find_msgs':
srchtxt.c:273:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (textflg)
   ^~
srchtxt.c:280:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    prnt_str(msg);
    ^~~~~~~~
cc1: all warnings being treated as errors


rm
  1. I think I agree with the way this has been rephrased. It looks correct to me.

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

Status: Closed (submitted)

Loading...