FTBFS with gcc-6

Bug #1608086 reported by Sean Whitton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geis
New
Undecided
Unassigned

Bug Description

Hello,

geis fails to build with gcc-6:

    geis_subscription.c: In function ‘geis_subscription_bag_empty’:
    geis_subscription.c:240:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
         if (bag->sub_store[i])
         ^~
    geis_subscription.c:242:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
           bag->sub_store[i] = NULL;
           ^~~

I have attached a patch to fix this.

Revision history for this message
Sean Whitton (spwhitton) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.