]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:03:25 +0000 (17:03 +1300)
commit9defaaa1da60372f687e707c20c12aea713e1741
treeec3c65f55f6809018996509ed9646c8c2a6205e2
parentc957d7444fccb3c61b5f00908ef91aba012c683b
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
src/backend/storage/smgr/smgr.c