Fixed a one char typo in libs/rgbe/rgbe.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer



[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux