From 2224ecd718b4daff9a3d063aa26d5da3dc67e749 Mon Sep 17 00:00:00 2001 From: Casey McGinty Date: Tue, 11 Sep 2018 11:56:50 -0700 Subject: [PATCH] Remove dead code and method name typo --- lib/common/zstd_common.c | 7 ------- programs/zstdcli.c | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/common/zstd_common.c b/lib/common/zstd_common.c index 85e9c2d42..6f05d240e 100644 --- a/lib/common/zstd_common.c +++ b/lib/common/zstd_common.c @@ -15,17 +15,10 @@ ***************************************/ #include /* malloc, calloc, free */ #include /* memset */ -#include /* fprintf(), stderr */ #include "error_private.h" #include "zstd_internal.h" -/*-************************************ -* Display Macros -**************************************/ -#define DISPLAY(...) fprintf(stderr, __VA_ARGS__) - - /*-**************************************** * Version ******************************************/ diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 0fb127cde..3d4548a4b 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -512,7 +512,7 @@ int main(int argCount, const char* argv[]) memset(&compressionParams, 0, sizeof(compressionParams)); /* init crash handler */ - ZSTD_addAbortHandler(); + FIO_addAbortHandler(); /* command switches */ for (argNb=1; argNb