aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress_lzma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compress_lzma.c')
-rw-r--r--src/common/compress_lzma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/compress_lzma.c b/src/common/compress_lzma.c
index 30d5920ca8..d453d9f718 100644
--- a/src/common/compress_lzma.c
+++ b/src/common/compress_lzma.c
@@ -46,7 +46,6 @@ memory_level(compression_level_t level)
static const char *
lzma_error_str(lzma_ret error)
{
- // LCOV_EXCL_START
switch (error) {
case LZMA_OK:
return "Operation completed successfully";
@@ -75,7 +74,6 @@ lzma_error_str(lzma_ret error)
default:
return "Unknown LZMA error";
}
- // LCOV_EXCL_STOP
}
#endif // HAVE_LZMA.
@@ -303,12 +301,10 @@ tor_lzma_compress_process(tor_lzma_compress_state_t *state,
case LZMA_DATA_ERROR:
case LZMA_PROG_ERROR:
default:
- // LCOV_EXCL_START
log_warn(LD_GENERAL, "LZMA %s didn't finish: %s.",
state->compress ? "compression" : "decompression",
lzma_error_str(retval));
return TOR_COMPRESS_ERROR;
- // LCOV_EXCL_STOP
}
#else // HAVE_LZMA.
(void)state;