8290 libwanboot: misleading-indentation

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

Information
Toomas Soome
illumos-gate
8290
630a3cf...
Reviewers
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

  
Andrew Stormont
Yuri Pankov
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...