From a7b6943ee4bd740bb42e7259abbe911273c752e3 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 31 Jan 2021 19:42:14 +0100 Subject: CONNECT: compiler warnings --- storage/connect/filamzip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'storage/connect/filamzip.cpp') diff --git a/storage/connect/filamzip.cpp b/storage/connect/filamzip.cpp index 8968078e9b1..79599382693 100644 --- a/storage/connect/filamzip.cpp +++ b/storage/connect/filamzip.cpp @@ -147,7 +147,6 @@ static bool ZipFile(PGLOBAL g, ZIPUTIL *zutp, PCSZ fn, PCSZ entry, char *buf) static bool ZipFiles(PGLOBAL g, ZIPUTIL *zutp, PCSZ pat, char *buf) { char filename[_MAX_PATH]; - int rc; /*********************************************************************/ /* pat is a multiple file name with wildcard characters */ @@ -155,6 +154,7 @@ static bool ZipFiles(PGLOBAL g, ZIPUTIL *zutp, PCSZ pat, char *buf) strcpy(filename, pat); #if defined(__WIN__) + int rc; char drive[_MAX_DRIVE], direc[_MAX_DIR]; WIN32_FIND_DATA FileData; HANDLE hSearch; @@ -1207,7 +1207,7 @@ int UZDFAM::Cardinality(PGLOBAL g) return 1; int card = -1; - int len = GetFileLength(g); + GetFileLength(g); card = Records; -- cgit v1.2.1