summaryrefslogtreecommitdiff
blob: 74829e2c5d4edd999e37d53281118817609c53f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 bin/dumprecs.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/dumprecs.cpp b/bin/dumprecs.cpp
index 94baab0..b7eaa57 100644
--- a/bin/dumprecs.cpp
+++ b/bin/dumprecs.cpp
@@ -80,10 +80,10 @@ int main(int ac,char** av)
      }
 
      cout << "\nLoop through forwards...\n";
-     int i = 0;
+     int j = 0;
      while(i<MyFile.NoOfRecords()) {
-       MyFile.DumpRecord(i+1);
-       i++;
+       MyFile.DumpRecord(j+1);
+       j++;
      }
 
      MyFile.CloseDatabase();	/* close database */