mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Remove initialization from PendingBackendStats
9a8dd2c5a6d has added an initialization to PendingBackendStats, which has been causing compilation warnings in the buildfarm. This code does not strictly require it as PendingBackendStats is always initialized with memset(0), so let's remove it. Per report from multiple buildfarm members, like ayu and batfish, via Tom Lane. Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://postgr.es/m/1870853.1741749264@sss.pgh.pa.us
This commit is contained in:
parent
72a3d0462b
commit
f554a95379
@ -36,7 +36,7 @@
|
||||
* reported within critical sections so we use static memory in order to avoid
|
||||
* memory allocation.
|
||||
*/
|
||||
static PgStat_BackendPending PendingBackendStats = {0};
|
||||
static PgStat_BackendPending PendingBackendStats;
|
||||
|
||||
/*
|
||||
* WAL usage counters saved from pgWalUsage at the previous call to
|
||||
|
Loading…
x
Reference in New Issue
Block a user