Compile improvemnts for strict compilers and the like
Down to two warning messages for egcs compile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,7 +174,8 @@ wxString wxPathList::FindValidPath (const wxString& file)
|
||||
char buf[_MAXPATHLEN];
|
||||
strcpy(buf, wxBuffer);
|
||||
|
||||
char *filename = IsAbsolutePath (buf) ? wxFileNameFromPath (buf) : (char *)buf;
|
||||
char *filename = (char*) NULL; /* shut up buggy egcs warning */
|
||||
filename = IsAbsolutePath (buf) ? wxFileNameFromPath (buf) : (char *)buf;
|
||||
|
||||
for (wxNode * node = First (); node; node = node->Next ())
|
||||
{
|
||||
|
Reference in New Issue
Block a user