Skip to content

Commit 113ecf1

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 commit 8492feb.
1 parent 2904324 commit 113ecf1

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-
return false;
1102+
return NULL;
11031103

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

0 commit comments

Comments
 (0)