From: Casey McGinty Date: Tue, 11 Sep 2018 18:56:50 +0000 (-0700) Subject: Remove dead code and method name typo X-Git-Tag: v0.0.29~16^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2224ecd718b4daff9a3d063aa26d5da3dc67e749;p=thirdparty%2Fzstd.git Remove dead code and method name typo --- 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