Skip to content

Commit 0233091

Browse files
author
Jonathan Castello
committed
Fixed undefined-identifier error by moving the declaration of "POSITION pos" outside the for-loop initializer.
1 parent fb3f0d6 commit 0233091

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4491,10 +4491,11 @@ double t = (tNow.m_dt - ((int) tNow.m_dt) ) * 86400.0;
44914491
}
44924492

44934493
CStringList firedTimersList;
4494+
POSITION pos;
44944495

44954496
// iterate through all timers for this document - first build list of them
44964497

4497-
for (POSITION pos = TimerMap.GetStartPosition(); pos; )
4498+
for (pos = TimerMap.GetStartPosition(); pos; )
44984499
{
44994500

45004501

0 commit comments

Comments
 (0)