diff options
author | Peter Eisentraut | 2020-03-24 18:29:34 +0000 |
---|---|---|
committer | Peter Eisentraut | 2020-03-24 18:31:02 +0000 |
commit | f15ace793578d96d70dad1e613293ae3eab92503 (patch) | |
tree | b1d30ea51f407901c79773123215db3d7f00d379 | |
parent | 17a28b03645e27d73bf69a95d7569b61e58f06eb (diff) |
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 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) |