Fix C error reported by Oracle compiler.

Thomas Munro <tmunro@postgresql.org>

Commit: 049c8cb9a239c9b7136174eb038fc7cd902b487e
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2025-01-08T04:04:26Z
Releases: 14.16
Fix C error reported by Oracle compiler.

Commit 66aaabe7 (branches 13 - 17 only) was not acceptable to the Oracle
Developer Studio compiler on build farm animal wrasse.  It accidentally
used a C++ style return statement to wrap a void function.  None of the
usual compilers complained, but it is right, that is not allowed in C.
Fix.

Reported-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/Z33vgfVgvOnbFLN9%40paquier.xyz

Files

PathChange+/−
src/backend/storage/smgr/smgr.c modified +1 −1

Discussion