projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e59d4
)
Removed a variable declaration from within a FOR statement for compilation on HP-UX
author
George Tasker
<gtasker@allenbrook.com>
Fri, 15 Oct 1999 10:11:06 +0000
(10:11 +0000)
committer
George Tasker
<gtasker@allenbrook.com>
Fri, 15 Oct 1999 10:11:06 +0000
(10:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3999
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/db.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/db.cpp
b/src/common/db.cpp
index 30f8556094231bd85b3da8c0f8d09576fe2cb34b..24761e1708d51cf7510344ce664db07a3088fb38 100644
(file)
--- 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()