pgsql: Fix C error reported by Oracle compiler. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Fix C error reported by Oracle compiler.
Date
Msg-id E1tVNRO-000RWE-MP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/049c8cb9a239c9b7136174eb038fc7cd902b487e

Modified Files
--------------
src/backend/storage/smgr/smgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix C error reported by Oracle compiler.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix C error reported by Oracle compiler.