From 1244e582744a120c3e0f2aa192126cc8357a1b10 Mon Sep 17 00:00:00 2001 From: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:28:08 +0800 Subject: [PATCH] Fix warning related to missing-variable-declarations, add static to global variable. Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> --- contrib/unzip/unzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/unzip/unzip.c b/contrib/unzip/unzip.c index ba15257a9..4bc6773ef 100644 --- a/contrib/unzip/unzip.c +++ b/contrib/unzip/unzip.c @@ -78,7 +78,7 @@ # pragma warning(disable : 4131 4244 4189 4245) #endif // _MSC_VER -const char unz_copyright[] = +static const char unz_copyright[] = " unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"; /* unz_file_info_internal contain internal info about a file in zipfile*/