[MASSMAIL] pgsql: Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [MASSMAIL] pgsql: Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms.
Дата
Msg-id E1rrQeu-0002p7-UA@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms.

If we are building with openssl but USE_SSL_ENGINE didn't get set,
initialize_SSL's variable "pkey" is declared but used nowhere.
Apparently this combination hasn't been exercised in the buildfarm
before now, because I've not seen this warning before, even though
the code has been like this a long time.  Move the declaration
to silence the warning (and remove its useless initialization).

Per buildfarm member sawshark.  Back-patch to all supported branches.

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3235a11c128b5979bce84d56b8044c7fb2e6b61d

Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: [MASSMAIL]pgsql: Introduce 'options' argument to heap_page_prune()
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Fix assert failure when planning setop subqueries with CTEs