| 94 | |
| 95 | |
| 96 | void Archive::UnexpEndArcMsg() |
| 97 | { |
| 98 | int64 ArcSize=FileLength(); |
| 99 | |
| 100 | // If block positions are equal to file size, this is not an error. |
| 101 | // It can happen when we reached the end of older RAR 1.5 archive, |
| 102 | // which did not have the end of archive block. |
| 103 | if (CurBlockPos!=ArcSize || NextBlockPos!=ArcSize) |
| 104 | { |
| 105 | uiMsg(UIERROR_UNEXPEOF,FileName); |
| 106 | ErrHandler.SetErrorCode(RARX_WARNING); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | |
| 111 | void Archive::BrokenHeaderMsg() |
nothing calls this directly
no test coverage detected