Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 62e2809

Browse files
committed
Remove useless inline marker.
Putting "inline" on a function that's not used anywhere in its own file is useless unless the linker is doing global optimization, a method we don't generally enable. Moreover, it draws warnings from some buildfarm members (curculio at least). Looks like this was sloppiness in cc8b257, which moved the function from somewhere else where the inline marker was more appropriate.
1 parent 4f02cbc commit 62e2809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/vacuum.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ vac_cleanup_one_index(IndexVacuumInfo *ivinfo, IndexBulkDeleteResult *istat)
23172317
* Returns the total required space for VACUUM's dead_items array given a
23182318
* max_items value.
23192319
*/
2320-
inline Size
2320+
Size
23212321
vac_max_items_to_alloc_size(int max_items)
23222322
{
23232323
Assert(max_items <= MAXDEADITEMS(MaxAllocSize));

0 commit comments

Comments
 (0)