diff options
author | Noel Kuntze <noel@familie-kuntze.de> | 2019-05-31 04:18:24 +0200 |
---|---|---|
committer | Robert Bindar <robert@mariadb.org> | 2019-07-30 09:58:17 +0300 |
commit | 46553c250808f0cc21e91f7e13439add2903aea0 (patch) | |
tree | 253205ef6681b659d49a49f2ecd752d53fca3c11 /storage/connect/filamzip.cpp | |
parent | 0d5d8d2e7a1debece188f355ecd7b0984ef8d171 (diff) | |
download | mariadb-git-46553c250808f0cc21e91f7e13439add2903aea0.tar.gz |
Fix compiler warnings GCC8
Diffstat (limited to 'storage/connect/filamzip.cpp')
-rw-r--r-- | storage/connect/filamzip.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/connect/filamzip.cpp b/storage/connect/filamzip.cpp index e76dc496246..b778c4971e9 100644 --- a/storage/connect/filamzip.cpp +++ b/storage/connect/filamzip.cpp @@ -91,8 +91,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 */ /*********************************************************************/ @@ -100,6 +98,7 @@ static bool ZipFiles(PGLOBAL g, ZIPUTIL *zutp, PCSZ pat, char *buf) #if defined(__WIN__) char drive[_MAX_DRIVE], direc[_MAX_DIR]; + int rc; WIN32_FIND_DATA FileData; HANDLE hSearch; |