From 4f1009face57478d6cd98966e531c98886431e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Thu, 3 Jun 2021 18:29:45 +0200 Subject: [PATCH] zdb: zdb_decompress_block: don't needlessly set buf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia ZiemiaƄska Closes #12187 --- cmd/zdb/zdb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index d6c304266..5017a0e7d 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -7969,7 +7969,6 @@ zdb_decompress_block(abd_t *pabd, void *buf, void *lbuf, uint64_t lsize, if (lsize > maxlsize) { exceeded = B_TRUE; } - buf = lbuf; if (*cfuncp == ZIO_COMPRESS_ZLE) { printf("\nZLE decompression was selected. If you " "suspect the results are wrong,\ntry avoiding ZLE "