8290 libwanboot: misleading-indentation

Review Request #539 — Created May 28, 2017 and submitted

tsoome
illumos-gate
8290
630a3cf...
general
../../../common/net/wanboot/boot_http.c: In function 'http_srv_connect':
../../../common/net/wanboot/boot_http.c:728:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (ctx != NULL)
   ^~
../../../common/net/wanboot/boot_http.c:730:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    libbootlog(BOOTLOG_CRIT,
    ^~~~~~~~~~
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...