From a38f47e90ce8273e83b4151cd93a0a224420f69b Mon Sep 17 00:00:00 2001 From: Monty Date: Thu, 8 Aug 2019 22:52:22 +0300 Subject: Fixed compiler warnings from connect engine - clang complains about register in C++ - Removed not used variables - Fixed bug when printing date in filamdbf.cpp - Added {} to fix warning about dangling else - Changed connect_done_func() to be global to remove conflict with header files - Added extra () around assignment in if --- storage/connect/inihandl.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'storage/connect/inihandl.cpp') diff --git a/storage/connect/inihandl.cpp b/storage/connect/inihandl.cpp index a17d50a18b8..c39c94fb30d 100644 --- a/storage/connect/inihandl.cpp +++ b/storage/connect/inihandl.cpp @@ -112,8 +112,6 @@ static PROFILE *MRUProfile[N_CACHED_PROFILES] = {NULL}; //static CRITICAL_SECTION PROFILE_CritSect = CRITICAL_SECTION_INIT("PROFILE_CritSect"); -static const char hex[17] = "0123456789ABCDEF"; - BOOL WritePrivateProfileString(LPCSTR section, LPCSTR entry, LPCSTR string, LPCSTR filename); -- cgit v1.2.1