summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-04-07 10:55:13 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-04-07 10:55:13 +0200
commit7f969b54964381f79558b924184f9c2c9afb4a57 (patch)
tree010007779d67d4cd55c610e992bc523346c20261 /src/Fl_Input.cxx
parent4e086a1cdfea0f26bc663f829a9a70fa748f4260 (diff)
Remove static variable, fix gcc warning [-Wclobbered] (#203)
PR #203 "Multithread fix for PNG loading" includes a suggested fix that moves the variable fp to the Fl_PNG_Image structure. This commit fixes the threading issue by allocating the variable fp with new, avoiding the [-Wclobbered] warning w/o using a static var. The same issue is now also fixed in Fl_JPEG_Image.
Diffstat (limited to 'src/Fl_Input.cxx')
0 files changed, 0 insertions, 0 deletions