Skip to content

Commit d60581e

Browse files
author
Artur Zakirov
committed
Fix clang warnings
1 parent dbc2a08 commit d60581e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rumbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ rumFindParents(RumBtree btree, RumBtreeStack * stack,
317317
return;
318318
}
319319

320-
leftmostBlkno = blkno = btree->getLeftMostPage(btree, page);
320+
blkno = btree->getLeftMostPage(btree, page);
321321
LockBuffer(root->buffer, RUM_UNLOCK);
322322
Assert(blkno != InvalidBlockNumber);
323323

rumdatapage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ dataPlaceToPage(RumBtree btree, Page page, OffsetNumber off)
853853
insertCount = 0;
854854
bool stopAppend = false;
855855

856+
RumItemSetMin(&copyItem);
856857
/*
857858
* We're going to prevent var-byte re-encoding of whole page. Find
858859
* position in page using page indexes.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy