diff options
| author | Manolo Gouy <Manolo> | 2011-01-19 06:29:06 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-19 06:29:06 +0000 |
| commit | 39ae4651bfb66eca09020677bf56da37134a5dab (patch) | |
| tree | 2b22d0154a77ec5bed464662e109c42a2d4214b3 /src | |
| parent | 96c410dceb2adff87f067e44310b269f51fa7e90 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_PNG_Image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_PNG_Image.cxx b/src/Fl_PNG_Image.cxx index 9e68ab3d8..6bf39b28c 100644 --- a/src/Fl_PNG_Image.cxx +++ b/src/Fl_PNG_Image.cxx @@ -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 |
