https://bugzilla.gnome.org/show_bug.cgi?id=639501

I was curious about a warning:
rgbe.c: In function ‘rgbe_header_init’:
rgbe.c:149:25: warning: operation on ‘header->x_axis.size’ may be undefined
[-Wsequence-point]

The line (with preceding line) was:
    header->x_axis.orient = header->y_axis.orient = ORIENT_UNKNOWN;
    header->x_axis.size   = header->x_axis.size   = 0;

It's obviously a sequence point issue, but just as obviously it should have
been:

    header->x_axis.size   = header->y_axis.size   = 0;

Patch attached to the bug report.


_______________________________________________
Gegl-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to