mirror of
https://github.com/fltk/fltk.git
synced 2026-02-06 08:21:40 +08:00
The fix for compiler warning [-Wmaybe-uninitialized] had been fixed in commit2b400f6abcbut accidentally reverted in commit39eba133de.
This commit is contained in:
@@ -752,7 +752,7 @@ png_convert_to_rfc1123_buffer(char out[29], png_const_timep ptime)
|
||||
|
||||
{
|
||||
size_t pos = 0;
|
||||
char number_buf[5]; /* enough for a four-digit year */
|
||||
char number_buf[5] = ""; /* enough for a four-digit year */ /* FLTK Issue #296 */
|
||||
|
||||
# define APPEND_STRING(string) pos = png_safecat(out, 29, pos, (string))
|
||||
# define APPEND_NUMBER(format, value)\
|
||||
|
||||
Reference in New Issue
Block a user