From 795a70df003fdb0656e814d576365c6df5562608 Mon Sep 17 00:00:00 2001 From: robocop Date: Wed, 20 Oct 2004 00:09:39 +0000 Subject: [PATCH] const. --- src/jrd/btr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jrd/btr.cpp b/src/jrd/btr.cpp index ba4989d210..6ab0ccf63d 100644 --- a/src/jrd/btr.cpp +++ b/src/jrd/btr.cpp @@ -2493,12 +2493,12 @@ static CONTENTS delete_node(thread_db* tdbb, WIN *window, UCHAR *pointer) // Read node that need to be removed IndexNode removingNode; UCHAR* localPointer = BTreeNode::readNode(&removingNode, pointer, flags, leafPage); - USHORT offsetDeletePoint = (pointer - (UCHAR*)page); + const USHORT offsetDeletePoint = (pointer - (UCHAR*)page); // Read the next node after the removing node IndexNode nextNode; localPointer = BTreeNode::readNode(&nextNode, localPointer, flags, leafPage); - USHORT offsetNextPoint = (localPointer - (UCHAR*)page); + const USHORT offsetNextPoint = (localPointer - (UCHAR*)page); // Save data in tempKey so we can rebuild from it USHORT newNextPrefix = nextNode.prefix;