Removed compiler warning:

Fl_PNG_Image.cxx:108: warning: 'fp' may be used uninitialized in this function

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-01-19 06:29:06 +00:00
parent 96c410dceb
commit 39ae4651bf
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ void Fl_PNG_Image::load_png_(const char *name_png, const unsigned char *buffer_p
{
#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