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:
George Tasker 1999-10-15 10:11:06 +00:00
parent 11e59d47c0
commit 9c40a88dbb

View File

@ -783,7 +783,8 @@ void wxDB::Close(void)
#endif
// 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]);
} // wxDB::Close()