]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Use Unused Variable in ERR_getErrorString()
authorW. Felix Handte <w@felixhandte.com>
Wed, 19 Dec 2018 20:36:10 +0000 (12:36 -0800)
committerW. Felix Handte <w@felixhandte.com>
Wed, 19 Dec 2018 20:36:10 +0000 (12:36 -0800)
lib/common/error_private.c

index 692e66b221909614521203b681346ab26c2ff199..7c1bb67a23f4095eecf7e0d410c286bd69323a85 100644 (file)
@@ -15,6 +15,7 @@
 const char* ERR_getErrorString(ERR_enum code)
 {
 #ifdef ZSTD_STRIP_ERROR_STRINGS
+    (void)code;
     return "Error strings stripped";
 #else
     static const char* const notErrorCode = "Unspecified error code";