]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Remove dead code and method name typo
authorCasey McGinty <casey.mcginty@gmail.com>
Tue, 11 Sep 2018 18:56:50 +0000 (11:56 -0700)
committerCasey McGinty <casey.mcginty@gmail.com>
Tue, 11 Sep 2018 18:56:50 +0000 (11:56 -0700)
lib/common/zstd_common.c
programs/zstdcli.c

index 85e9c2d42e35a32cd4b4720c55adf0afcad95d5c..6f05d240e43cfdbec4009a916a7c6710c2418b30 100644 (file)
 ***************************************/
 #include <stdlib.h>      /* malloc, calloc, free */
 #include <string.h>      /* memset */
-#include <stdio.h>       /* fprintf(), stderr */
 #include "error_private.h"
 #include "zstd_internal.h"
 
 
-/*-************************************
-*  Display Macros
-**************************************/
-#define DISPLAY(...)         fprintf(stderr, __VA_ARGS__)
-
-
 /*-****************************************
 *  Version
 ******************************************/
index 0fb127cde74b0a145f5580d575669ce89ace47e7..3d4548a4b703b0472d517c06903af642d6c67820 100644 (file)
@@ -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<argCount; argNb++) {