8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00

Avoid warning.

This commit is contained in:
Adriano dos Santos Fernandes 2021-10-18 10:59:48 -03:00
parent 52ce2830b8
commit a2aff78aef

View File

@ -949,11 +949,6 @@ SINT64 WindowedStream::WindowStream::locateFrameRange(thread_db* tdbb, jrd_req*
if (offsetDesc)
{
int direction = (frame->bound == WindowClause::Frame::Bound::FOLLOWING ? 1 : -1);
if (m_order->direction[0] == ORDER_DESC)
direction *= -1;
cacheValues(tdbb, request, &m_order->expressions, impure->orderValues,
AdjustFunctor(m_arithNodes[frame == m_frameExtent->frame1 ? 0 : 1], offsetDesc));
}