Patch #818 2006-02-11 22:27

michaelz

Patch to solve a warning in sdk/pipedprocess.cpp (GCC 4.1.0)
Download
818-Patch_to_solve.patch (573 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2006-02-12 08:12
Assigned to
 
Index: C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/sdk/pipedprocess.cpp
===================================================================
--- C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/sdk/pipedprocess.cpp    (revision 1985)
+++ C:/Programme/DANAE/CodeBlocks/CodeBlocks/src/sdk/pipedprocess.cpp    (working copy)
@@ -60,7 +60,7 @@
         wxChar NextChar()
         {
         #if wxUSE_UNICODE
-            wxChar wbuf[2];
+//            wxChar wbuf[2];
             memset((void*)m_lastBytes, 0, 10);
             for(size_t inlen = 0; inlen < 9; inlen++)
             {