8215 print: misleading-indentation

Review Request #502 — Created May 13, 2017 and submitted

tsoome
illumos-gate
8215
9c5970b...
general
../common/attribute.c: In function 'papiAttributeFree':
../common/attribute.c:99:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (attribute->values != NULL)
   ^~
../common/attribute.c:102:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    free(attribute);
    ^~~~
cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
tsoome
marcel
  1. 
      
  2. Please add a space before '?'.

  3. 
      
marcel
  1. Ship It!
  2. 
      
tsoome
marcel
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...