Removed a variable declaration from within a FOR statement for compilation on HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -783,7 +783,8 @@ void wxDB::Close(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Copy the error messages to a global variable
|
// Copy the error messages to a global variable
|
||||||
for (int i = 0; i < DB_MAX_ERROR_HISTORY; i++)
|
int i;
|
||||||
|
for (i = 0; i < DB_MAX_ERROR_HISTORY; i++)
|
||||||
strcpy(DBerrorList[i],errorList[i]);
|
strcpy(DBerrorList[i],errorList[i]);
|
||||||
|
|
||||||
} // wxDB::Close()
|
} // wxDB::Close()
|
||||||
|
Reference in New Issue
Block a user