Author: manolo
Date: 2011-01-18 22:29:06 -0800 (Tue, 18 Jan 2011)
New Revision: 8290
Log:
Removed compiler warning:
Fl_PNG_Image.cxx:108: warning: 'fp' may be used uninitialized in this function
Modified:
branches/branch-1.3/src/Fl_PNG_Image.cxx
Modified: branches/branch-1.3/src/Fl_PNG_Image.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PNG_Image.cxx 2011-01-17 23:52:32 UTC (rev
8289)
+++ branches/branch-1.3/src/Fl_PNG_Image.cxx 2011-01-19 06:29:06 UTC (rev
8290)
@@ -105,7 +105,7 @@
{
#if defined(HAVE_LIBPNG) && defined(HAVE_LIBZ)
int i; // Looping var
- FILE *fp; // File pointer
+ FILE *fp = NULL; // File pointer
int channels; // Number of color channels
png_structp pp; // PNG read pointer
png_infop info; // PNG info pointers
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit