7876 libast: misleading-indentation errors

Review Request #364 - Created Feb. 15, 2017 and submitted

Information
Toomas Soome
illumos-gate
7876
0237891...
Reviewers
general

7876 libast: misleading-indentation errors

../common/misc/magic.c: In function 'cklang':
../common/misc/magic.c:1127:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (s > mp->fbuf)
^~
../common/misc/magic.c:1148:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (!mp->idtab)
^~
cc1: all warnings being treated as errors


  
Gordon Ross
Marcel Telka
Yuri Pankov
Toomas Soome
Toomas Soome
Gordon Ross
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...