diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-04-07 10:55:13 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-04-07 10:55:13 +0200 |
| commit | 7f969b54964381f79558b924184f9c2c9afb4a57 (patch) | |
| tree | 010007779d67d4cd55c610e992bc523346c20261 /src/dump_compose.c | |
| parent | 4e086a1cdfea0f26bc663f829a9a70fa748f4260 (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/dump_compose.c')
0 files changed, 0 insertions, 0 deletions
