Project

General

Profile

Bug #7876

Updated by Toomas Soome over 5 years ago

<pre> 
 ../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 

 ../common/sfio/sfpool.c: In function 'sfpool': 
 ../common/sfio/sfpool.c:291:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] 
   { if(f) 
     ^~ 
 ../common/sfio/sfpool.c:293:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' 
    if(pf) 
    ^~ 
 cc1: all warnings being treated as errors 

 ../common/vmalloc/vmbest.c:983:6: error: this 'if' clause does not guard... [-Werror=misleading-indentation] 
     { if(!bestreclaim(vd,np,C_INDEX(s)) ) 
       ^~ 
 ../common/vmalloc/vmbest.c:985:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' 
      s = SIZE(np); /**/ASSERT(s%ALIGN == 0); 
      ^ 
 cc1: all warnings being treated as errors 
 </pre>

Back