Fix DEADCODE coverity issue in cdbresynchronizechangetracking.c
CID 170750: Logically dead code. In
ChangeTracking_GetLastChangeTrackingLogEndLoc() code can never be reached
because of a logical contradiction, hence removing the same.
@@ -3282,16 +3282,7 @@ ChangeTracking_GetLastChangeTrackingLogEndLoc(XLogRecPtr *lastChangeTrackingLogE
}
numBlocks = position / CHANGETRACKING_BLCKSZ;
-
- if (numBlocks == 0)
- {
- position = 0;
- }
- else
- {
position = (numBlocks - 1) * CHANGETRACKING_BLCKSZ;
- }
-
FileSeek(file, position, SEEK_SET);
}
else
