Fix C error reported by Oracle compiler.
authorThomas Munro <tmunro@postgresql.org>
Wed, 8 Jan 2025 03:54:45 +0000 (16:54 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 8 Jan 2025 04:04:26 +0000 (17:04 +1300)
commit049c8cb9a239c9b7136174eb038fc7cd902b487e
treeba2aa5a07327ea2823dda39e6e9d3d87b7b2a3a0
parentc53d90bb47ae488beebe64d651ef926c86a51bde
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: http://postgr.es/m/Z33vgfVgvOnbFLN9%40paquier.xyz
src/backend/storage/smgr/smgr.c