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 8492feb98f6.
This commit is contained in:
parent
2904324a88
commit
113ecf1f8c
@ -1099,7 +1099,7 @@ tuplesort_getgintuple(Tuplesortstate *state, Size *len, bool forward)
|
|||||||
MemoryContextSwitchTo(oldcontext);
|
MemoryContextSwitchTo(oldcontext);
|
||||||
|
|
||||||
if (!stup.tuple)
|
if (!stup.tuple)
|
||||||
return false;
|
return NULL;
|
||||||
|
|
||||||
tup = (GinTuple *) stup.tuple;
|
tup = (GinTuple *) stup.tuple;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user