summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-09-10 11:38:23 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-09-10 11:38:23 +0000
commitb0a222364225bd49eeff41e6f0dc380804f7ac4c (patch)
tree6f12fa769cded427d5c732f3acaa93bd8b63af86 /examples/Makefile
parent4a8e829f09034f0353a03a6b0fb1c15a81c4d9b8 (diff)
Fix compiler warning and potential error in PNG error handling.
Compilation with gcc -Wall -Wextra displayed the following warning: Fl_PNG_Image.cxx: In member function ‘void Fl_PNG_Image::load_png_(const char*, const unsigned char*, int)’: Fl_PNG_Image.cxx:118:9: warning: variable ‘fp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] Making the variable static and initializing it properly avoids this potential error in the PNG lib's error handling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/Makefile')
0 files changed, 0 insertions, 0 deletions