Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita65747b

Browse files
committed
Suppress "variable 'pagesaving' set but not used" warning.
With asserts disabled, late-model clang notices that this variableis incremented but never otherwise read.Discussion:https://postgr.es/m/3171401.1649275153@sss.pgh.pa.us
1 parent9a72299 commita65747b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtdedup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ _bt_dedup_pass(Relation rel, Buffer buf, Relation heapRel, IndexTuple newitem,
6464
BTPageOpaqueopaque= (BTPageOpaque)PageGetSpecialPointer(page);
6565
Pagenewpage;
6666
BTDedupStatestate;
67-
Sizepagesaving=0;
67+
SizepagesavingPG_USED_FOR_ASSERTS_ONLY=0;
6868
boolsinglevalstrat= false;
6969
intnkeyatts=IndexRelationGetNumberOfKeyAttributes(rel);
7070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp