diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-03-24 19:29:34 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-03-24 19:31:02 +0100 |
commit | f15ace793578d96d70dad1e613293ae3eab92503 (patch) | |
tree | b1d30ea51f407901c79773123215db3d7f00d379 | |
parent | 17a28b03645e27d73bf69a95d7569b61e58f06eb (diff) | |
download | postgresql-f15ace793578d96d70dad1e613293ae3eab92503.tar.gz postgresql-f15ace793578d96d70dad1e613293ae3eab92503.zip |
Fix compiler warning on Cygwin
bf68b79e50e3359accc85c94fa23cc03abb9350a introduced an unused variable
compiler warning on Cygwin.
-rw-r--r-- | src/backend/utils/misc/ps_status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/utils/misc/ps_status.c b/src/backend/utils/misc/ps_status.c index 584d7709575..1e8596e6645 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) |