pgsql: Fix C error reported by Oracle compiler.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Fix C error reported by Oracle compiler.
Дата
Msg-id E1tVNR2-000RUN-KO@gemulon.postgresql.org
обсуждение исходный текст
Список 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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/45aef9f6bb0fd5784e2f596f93aae3619c20b1d8

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


В списке pgsql-committers по дате отправления: