From: Yann Collet Date: Wed, 21 Mar 2018 01:03:56 +0000 (-0700) Subject: fixed minor declaration warning X-Git-Tag: v1.3.4~1^2~11^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453d487807cb32cba7463e23d3ffc1c38f28c658;p=thirdparty%2Fzstd.git fixed minor declaration warning --- diff --git a/tests/Makefile b/tests/Makefile index d6a253cc8..5b35ad406 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -100,11 +100,11 @@ zstd-nolegacy: gzstd: $(MAKE) -C $(PRGDIR) zstd HAVE_ZLIB=1 MOREFLAGS+="$(DEBUGFLAGS)" -.PHONY: +.PHONY: zstd-dll zstd-dll : $(MAKE) -C $(ZSTDDIR) libzstd -.PHONY: +.PHONY: zstd-staticLib zstd-staticLib : $(MAKE) -C $(ZSTDDIR) libzstd.a diff --git a/tests/legacy.c b/tests/legacy.c index 6cfd38b1e..847e1d25e 100644 --- a/tests/legacy.c +++ b/tests/legacy.c @@ -92,14 +92,12 @@ int testStreamingAPI(void) while (1) { ZSTD_outBuffer output = {outBuff, outBuffSize, 0}; if (needsInit) { - DISPLAY("needsInit: ZSTD_initDStream(stream)\n"); size_t const ret = ZSTD_initDStream(stream); if (ZSTD_isError(ret)) { DISPLAY("ERROR: ZSTD_initDStream: %s\n", ZSTD_getErrorName(ret)); return 1; } } - DISPLAY("ZSTD_decompressStream(stream, output, input)\n"); { size_t const ret = ZSTD_decompressStream(stream, &output, &input); if (ZSTD_isError(ret)) { DISPLAY("ERROR: ZSTD_decompressStream: %s\n", ZSTD_getErrorName(ret));