From: Peter Eisentraut Date: Tue, 24 Mar 2020 18:29:34 +0000 (+0100) Subject: Fix compiler warning on Cygwin X-Git-Tag: aio-before-rebase-2020-06-24~715 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f15ace793578d96d70dad1e613293ae3eab92503;p=users%2Fandresfreund%2Fpostgres.git Fix compiler warning on Cygwin bf68b79e50e3359accc85c94fa23cc03abb9350a introduced an unused variable compiler warning on Cygwin. --- diff --git a/src/backend/utils/misc/ps_status.c b/src/backend/utils/misc/ps_status.c index 584d770957..1e8596e664 100644 --- a/src/backend/utils/misc/ps_status.c +++ b/src/backend/utils/misc/ps_status.c @@ -257,7 +257,9 @@ save_ps_display_args(int argc, char **argv) void init_ps_display(const char *fixed_part) { +#ifndef PS_USE_NONE bool save_update_process_title; +#endif Assert(fixed_part || MyBackendType); if (!fixed_part)