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

Commit87166d2

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 parent8f4b5b0 commit87166d2

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_one_page(Relation rel, Buffer buf, Relation heapRel,
6565
OffsetNumberdeletable[MaxIndexTuplesPerPage];
6666
BTDedupStatestate;
6767
intndeletable=0;
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