[cairo] GCC warning: correct?

David Kastrup dak at gnu.org
Sun Jun 25 19:07:44 UTC 2017

cairo-surface.c: In function ‘cairo_surface_create_similar’:
cairo-surface.c:508:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (unlikely (! CAIRO_CONTENT_VALID (content)))
cairo-surface.c:511:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
         if (unlikely (other->status))

David Kastrup

More information about the cairo mailing list