mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03: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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user