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

Commitdbafe12

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 parentbdbd3d9 commitdbafe12

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
@@ -65,7 +65,7 @@ _bt_dedup_pass(Relation rel, Buffer buf, Relation heapRel, IndexTuple newitem,
6565
BTPageOpaqueopaque=BTPageGetOpaque(page);
6666
Pagenewpage;
6767
BTDedupStatestate;
68-
Sizepagesaving=0;
68+
SizepagesavingPG_USED_FOR_ASSERTS_ONLY=0;
6969
boolsinglevalstrat= false;
7070
intnkeyatts=IndexRelationGetNumberOfKeyAttributes(rel);
7171

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp