summaryrefslogtreecommitdiff
path: root/sql/spatial.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-05-18 19:00:21 +0300
committerunknown <monty@mysql.com>2005-05-18 19:00:21 +0300
commitd93806ef7d479f353349862833364f0b332bacea (patch)
treeb3842c1613c97d550be652ce1e354686b5ca35ee /sql/spatial.h
parent880bff92639aa80e38a7b3d8686b620b5048de31 (diff)
downloadmariadb-git-d93806ef7d479f353349862833364f0b332bacea.tar.gz
Fix warnings from icc
Added BUILD scripts for icc Fixed (one time) memory leak in grant handling config/ac-macros/misc.m4: Remove warnings flags from icc when compiling with -Werror configure.in: Remove warnings flags from icc when compiling with -Werror extra/replace.c: Fix warnings from icc include/my_dbug.h: Fix warnings from icc sql/gen_lex_hash.cc: Fix warnings from icc sql/mysql_priv.h: Add missing variables sql/mysqld.cc: Fix warnings from icc: - made a lot of variables static - Removing some not used variables - Fixed wrong printf() - removed extern "C" from some functions sql/spatial.h: Fix warnings from icc sql/sql_acl.cc: Fixed memory leak sql/sql_lex.cc: Fix warnings from icc sql/sql_lex.h: Fix warnings from icc
Diffstat (limited to 'sql/spatial.h')
-rw-r--r--sql/spatial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/spatial.h b/sql/spatial.h
index 438ec171a72..b5ea7d641d1 100644
--- a/sql/spatial.h
+++ b/sql/spatial.h
@@ -173,6 +173,9 @@ public:
static void operator delete(void *ptr, void *buffer)
{}
+ static void operator delete(void *buffer)
+ {}
+
static String bad_geometry_data;
enum wkbType