diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-08 10:08:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 10:08:06 -0400 |
commit | 7465ea4ad906d2c1fb8a31c01c29b62ccfe7a590 (patch) | |
tree | 72da2fd2288fab3194b39de998042392d2f3f49b /src/common/compress_lzma.c | |
parent | 6121ca16bc83cf74f0c4bc3f71b3150cd18aa43c (diff) | |
download | tor-7465ea4ad906d2c1fb8a31c01c29b62ccfe7a590.tar.gz tor-7465ea4ad906d2c1fb8a31c01c29b62ccfe7a590.zip |
Remove some LCOV_EXCL stuff that I think may be testable after all.
This is partial revert on 22286.
Also, tweak some log messages to be distinct.
Diffstat (limited to 'src/common/compress_lzma.c')
-rw-r--r-- | src/common/compress_lzma.c | 4 |
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; |