Skip to content

Commit f15ace7

Browse files
committed
Fix compiler warning on Cygwin
bf68b79 introduced an unused variable compiler warning on Cygwin.
1 parent 17a28b0 commit f15ace7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/utils/misc/ps_status.c

+2
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ save_ps_display_args(int argc, char **argv)
257257
void
258258
init_ps_display(const char *fixed_part)
259259
{
260+
#ifndef PS_USE_NONE
260261
bool save_update_process_title;
262+
#endif
261263

262264
Assert(fixed_part || MyBackendType);
263265
if (!fixed_part)

0 commit comments

Comments
 (0)