[COMMITTERS] pgsql: Silence compiler warnings

Поиск
Список
Период
Сортировка
От Joe Conway
Тема [COMMITTERS] pgsql: Silence compiler warnings
Дата
Msg-id E1cOBK4-00089S-UZ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Silence compiler warnings

Rearrange a bit of code to ensure that 'mode' in LWLockRelease is
obviously always set, which seems a bit cleaner and avoids a compiler
warning (thanks to Robert for the suggestion!).

Back-patch back to 9.5 where the warning is first seen.

Author: Stephen Frost
Discussion: https://postgr.es/m/20161129152102.GR13284%40tamriel.snowman.net

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cbc62b22952006324199979396d229ce82f6a0d7

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: [COMMITTERS] pgsql: Silence compiler warnings
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Allow SSL configuration to be updated at SIGHUP.