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

Commit113ecf1

Browse files
committed
Fix minor C type confusion
Returning false instead of NULL gets a compiler error under gcc-14-std=gnu23, and it appears to have been unintentional. Fix for commit8492feb.
1 parent2904324 commit113ecf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/sort/tuplesortvariants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ tuplesort_getgintuple(Tuplesortstate *state, Size *len, bool forward)
10991099
MemoryContextSwitchTo(oldcontext);
11001100

11011101
if (!stup.tuple)
1102-
returnfalse;
1102+
returnNULL;
11031103

11041104
tup= (GinTuple*)stup.tuple;
11051105

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp