]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix (correct) warning about potentially uninitialized variables.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 2 Nov 2003 15:39:01 +0000 (15:39 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 2 Nov 2003 15:39:01 +0000 (15:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index 9c7e0995878b1f714b7b6ff74b840c03ea38ca8f..1d7119cabe9a70fc12b3b7868bdc209f404fb915 100644 (file)
@@ -1144,8 +1144,8 @@ wxConcatFiles (const wxString& file1, const wxString& file2, const wxString& fil
       return FALSE;
 
   FILE *fp1 wxDUMMY_INITIALIZE(NULL);
-  FILE *fp2 wxDUMMY_INITIALIZE(NULL);
-  FILE *fp3 wxDUMMY_INITIALIZE(NULL);
+  FILE *fp2 = NULL;
+  FILE *fp3 = NULL;
   // Open the inputs and outputs
   if ((fp1 = wxFopen ( file1, wxT("rb"))) == NULL ||
       (fp2 = wxFopen ( file2, wxT("rb"))) == NULL ||