From 0a2edfe6e072ff9f869afa86556bb5fcd7e8293e Mon Sep 17 00:00:00 2001 From: Paul Tucker Date: Sun, 20 Oct 2002 20:20:41 +0000 Subject: [PATCH] 2002-10-20 16:18 UTC-0500 Paul Tucker --- harbour/ChangeLog | 4 ++++ harbour/source/rdd/dbfntx/dbfntx1.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2db1b3e165..e4d0dae580 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2002-10-20 16:18 UTC-0500 Paul Tucker + * source/rdd/dbfntx/dbfntx1.c + ! removed unused pLastPages + 2002-10-20 15:16 UTC-0500 Paul Tucker * source/rdd/dbcmd.c ! Just a few changes for efficiency... diff --git a/harbour/source/rdd/dbfntx/dbfntx1.c b/harbour/source/rdd/dbfntx/dbfntx1.c index 555d07475a..4e5b8034d4 100644 --- a/harbour/source/rdd/dbfntx/dbfntx1.c +++ b/harbour/source/rdd/dbfntx/dbfntx1.c @@ -1240,7 +1240,7 @@ static LPPAGEINFO hb_ntxPageLoad( LPTAGINFO pTag, ULONG ulOffset ) if( !bReplace ) { - LPPAGEINFO pLastPage; + /* LPPAGEINFO pLastPage; ? */ if( pTag->ulPages == pTag->ulPagesDepth ) { @@ -1325,7 +1325,7 @@ static void hb_ntxPageFree( LPTAGINFO pTag, BOOL lFull ) static LPPAGEINFO hb_ntxPageNew( LPTAGINFO pTag ) { - LPPAGEINFO pPage, pLastPage; + LPPAGEINFO pPage; if( pTag->Owner->NextAvail > 0 ) { @@ -2068,7 +2068,8 @@ static void hb_ntxWritePage( LPTAGINFO pTag, LPNTXSORTINFO pSortInfo, char* buff static void hb_ntxRootPage( LPTAGINFO pTag, LPNTXSORTINFO pSortInfo, LPSORTITEM pKey, ULONG* lpArray, USHORT level ) { - USHORT i, maxKeys = lpArray[level+1]; + USHORT i; + ULONG maxKeys = lpArray[level+1]; LPNTXBUFFER itemlist; LPNTXITEM item;