projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a28b0
)
Fix compiler warning on Cygwin
author
Peter Eisentraut
<
[email protected]
>
Tue, 24 Mar 2020 18:29:34 +0000
(19:29 +0100)
committer
Peter Eisentraut
<
[email protected]
>
Tue, 24 Mar 2020 18:31:02 +0000
(19:31 +0100)
bf68b79e50e3359accc85c94fa23cc03abb9350a
introduced an unused variable
compiler warning on Cygwin.
src/backend/utils/misc/ps_status.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/misc/ps_status.c
b/src/backend/utils/misc/ps_status.c
index 584d7709575ee278ae1b5507406a8242d3ac479d..1e8596e664569e3cd1914d7d8a3bbdbdf0f402c3 100644
(file)
--- 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)