mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 23:23:02 +01:00
Avoid warning.
This commit is contained in:
parent
52ce2830b8
commit
a2aff78aef
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user