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

From Tom Lane
Subject [MASSMAIL] pgsql: Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms.
Date
Msg-id E1rrQeu-0002pG-Vd@gemulon.postgresql.org
Whole thread Raw
List 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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c62b55cf39a5b1d751151c0c3b9fac4cf658d79c

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: [MASSMAIL]pgsql: Introduce 'options' argument to heap_page_prune()
Next
From: David Rowley
Date:
Subject: pgsql: Fix assert failure when planning setop subqueries with CTEs