summaryrefslogtreecommitdiff
path: root/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'Bus')
-rw-r--r--Bus/Ivy/Regexp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bus/Ivy/Regexp.cxx b/Bus/Ivy/Regexp.cxx
index 5916ec8..4dc1823 100644
--- a/Bus/Ivy/Regexp.cxx
+++ b/Bus/Ivy/Regexp.cxx
@@ -255,7 +255,8 @@ void CRegErrorHandler::ClearErrorString() const
const char * CRegErrorHandler::FindErr( int id )
{
- for ( struct regErr * perr = errors; perr->m_id != REGERR_SENTINEL_VALUE; perr++ )
+ struct regErr * perr;
+ for ( perr = errors; perr->m_id != REGERR_SENTINEL_VALUE; perr++ )
if ( perr->m_id == id )
return perr->m_err;