From 9c40a88dbb6908475f9985db8898c4c9943a5e91 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Fri, 15 Oct 1999 10:11:06 +0000 Subject: [PATCH] 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 --- src/common/db.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/db.cpp b/src/common/db.cpp index 30f8556094..24761e1708 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -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() -- 2.45.2