Skip to content

Commit 9beb9e7

Browse files
committed
Fix compiler warning about uninitialized variable
1 parent 4253f01 commit 9beb9e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/postmaster/pgstat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* Copyright (c) 2001-2008, PostgreSQL Global Development Group
1515
*
16-
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.183 2008/11/03 19:03:41 alvherre Exp $
16+
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.184 2008/11/04 11:04:06 petere Exp $
1717
* ----------
1818
*/
1919
#include "postgres.h"
@@ -3405,7 +3405,7 @@ backend_read_statsfile(void)
34053405
*/
34063406
for (count = 0; count < PGSTAT_POLL_LOOP_COUNT; count++)
34073407
{
3408-
TimestampTz file_ts;
3408+
TimestampTz file_ts = 0;
34093409

34103410
CHECK_FOR_INTERRUPTS();
34113411

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy