8223 libshell: misleading-indentation

Review Request #510 - Created May 13, 2017 and submitted

Information
Toomas Soome
illumos-gate
8223
9fd82c6...
Reviewers
general
../common/sh/nvdisc.c: In function 'nv_clone':
../common/sh/nvdisc.c:916:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  if(mp->nvflag == flag)
  ^~
../common/sh/nvdisc.c:918:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(nv_isattr(np,NV_EXPORT))
   ^~
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Igor Kozhukhov
Robert Mustacchi
Gordon Ross
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...