mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
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
8492feb98f.
This commit is contained in:
parent
2904324a88
commit
113ecf1f8c
|
|
@ -1099,7 +1099,7 @@ tuplesort_getgintuple(Tuplesortstate *state, Size *len, bool forward)
|
|||
MemoryContextSwitchTo(oldcontext);
|
||||
|
||||
if (!stup.tuple)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
tup = (GinTuple *) stup.tuple;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user