|
From: <hv...@us...> - 2013-09-13 08:15:19
|
Revision: 58615
http://sourceforge.net/p/firebird/code/58615
Author: hvlad
Date: 2013-09-13 08:15:17 +0000 (Fri, 13 Sep 2013)
Log Message:
-----------
Fix to please GCC
Modified Paths:
--------------
firebird/trunk/src/jrd/vio.cpp
Modified: firebird/trunk/src/jrd/vio.cpp
===================================================================
--- firebird/trunk/src/jrd/vio.cpp 2013-09-13 08:12:28 UTC (rev 58614)
+++ firebird/trunk/src/jrd/vio.cpp 2013-09-13 08:15:17 UTC (rev 58615)
@@ -334,6 +334,9 @@
Record* old_data = NULL;
Record* gc_rec2 = NULL;
+ bool samePage;
+ bool deleted;
+
if ((temp.rpb_flags & rpb_deleted) && (!(temp.rpb_flags & rpb_delta)))
CCH_RELEASE(tdbb, &temp.getWindow(tdbb));
else
@@ -455,8 +458,8 @@
// If both record versions are on the same page, things are a little simpler
- const bool samePage = (rpb->rpb_page == temp.rpb_page && !rpb->rpb_prior);
- const bool deleted = (temp2.rpb_flags & rpb_deleted);
+ samePage = (rpb->rpb_page == temp.rpb_page && !rpb->rpb_prior);
+ deleted = (temp2.rpb_flags & rpb_deleted);
if (!deleted)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|