mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Silence benign warnings from clang version 3.0-6ubuntu3.
This commit is contained in:
@ -345,7 +345,7 @@ SetWALFileNameForCleanup(void)
|
||||
if (keepfiles > 0)
|
||||
{
|
||||
sscanf(nextWALFileName, "%08X%08X%08X", &tli, &log, &seg);
|
||||
if (tli > 0 && log >= 0 && seg > 0)
|
||||
if (tli > 0 && seg > 0)
|
||||
{
|
||||
log_diff = keepfiles / MaxSegmentsPerLogFile;
|
||||
seg_diff = keepfiles % MaxSegmentsPerLogFile;
|
||||
|
Reference in New Issue
Block a user