summaryrefslogtreecommitdiff
path: root/storage/connect/inihandl.cpp
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-08-08 22:52:22 +0300
committerSergei Golubchik <serg@mariadb.org>2019-08-23 22:03:54 +0200
commita38f47e90ce8273e83b4151cd93a0a224420f69b (patch)
tree3faafa530d602fe2440dfaf13dec4ad23e24c265 /storage/connect/inihandl.cpp
parentde8b51fdc9d998fdf9c2d5c317a6da063c73d84a (diff)
downloadmariadb-git-a38f47e90ce8273e83b4151cd93a0a224420f69b.tar.gz
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
Diffstat (limited to 'storage/connect/inihandl.cpp')
-rw-r--r--storage/connect/inihandl.cpp2
1 files changed, 0 insertions, 2 deletions
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);