diff options
| author | Kevin Grittner | 2013-11-07 22:35:43 +0000 |
|---|---|---|
| committer | Kevin Grittner | 2013-11-07 22:35:43 +0000 |
| commit | b64b5ccb6a9c6877080b8ef86790e738031089d5 (patch) | |
| tree | cbee0eeaef0b1cb150b9bc10b09b7312ca426977 /contrib | |
| parent | c28b289bf365ab11f23460d02a43667f6a8b8bc7 (diff) | |
Silence benign warnings from clang version 3.0-6ubuntu3.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pg_standby/pg_standby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index a3f40fbe61..059c820527 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -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; |
