Remove dead loop in verifyArchive().
This loop has been dead since the code was initially committed in It looks like it was used at one point but became dead when the enclosing if-else was added during development.
Found by Coverity.
@@ -744,8 +744,6 @@ verifyArchive(void *data)
// If there are WAL files, then verify them
if (!strLstEmpty(jobData->walFileList))
- {
- do
{
// Get the fully qualified file name and checksum
const String *fileName = strLstGet(jobData->walFileList, 0);
@@ -772,11 +770,6 @@ verifyArchive(void *data)
// If this is the last file to process for this timeline, then remove the path
if (strLstEmpty(jobData->walFileList))
strLstRemoveIdx(jobData->walPathList, 0);
-
- // Return to process the job found
- break;
- }
- while (!strLstEmpty(jobData->walFileList));
}
else
{
