Fix C error reported by Oracle compiler.

Thomas Munro <tmunro@postgresql.org>

Commit: 417d41c658b30bbfe8ef9db624e4a8125e6225d1
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2025-01-08T04:14:15Z
Releases: 13.19
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