Commit 64bba3d5 authored by Michael Widenius's avatar Michael Widenius

Fixed compiler warnings

sql/debug_sync.cc:
  Initalize variable
storage/sphinx/Makefile.am:
  Ensure we compile with the -Wno-unused-parameter flag
parent e8608d8a
...@@ -1719,6 +1719,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action) ...@@ -1719,6 +1719,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
if (action->execute) if (action->execute)
{ {
const char *old_proc_info; const char *old_proc_info;
LINT_INIT(old_proc_info);
action->execute--; action->execute--;
......
...@@ -35,17 +35,17 @@ pkgplugin_LTLIBRARIES = @plugin_sphinx_shared_target@ sphinx.la ...@@ -35,17 +35,17 @@ pkgplugin_LTLIBRARIES = @plugin_sphinx_shared_target@ sphinx.la
ha_sphinx_la_LDFLAGS = -module -rpath $(MYSQLLIBdir) \ ha_sphinx_la_LDFLAGS = -module -rpath $(MYSQLLIBdir) \
-L$(top_builddir)/libservices -lmysqlservices -L$(top_builddir)/libservices -lmysqlservices
ha_sphinx_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN ha_sphinx_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN ha_sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_sphinx_la_SOURCES = ha_sphinx.cc ha_sphinx_la_SOURCES = ha_sphinx.cc
sphinx_la_LDFLAGS = -module sphinx_la_LDFLAGS = -module
sphinx_la_CXXFLAGS = $(AM_CFLAGS) sphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
sphinx_la_CFLAGS = $(AM_CFLAGS) sphinx_la_CFLAGS = $(AM_CFLAGS)
sphinx_la_SOURCES = snippets_udf.cc sphinx_la_SOURCES = snippets_udf.cc
noinst_LTLIBRARIES = @plugin_sphinx_static_target@ noinst_LTLIBRARIES = @plugin_sphinx_static_target@
libsphinx_la_CXXFLAGS = $(AM_CFLAGS) libsphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
libsphinx_la_CFLAGS = $(AM_CFLAGS) libsphinx_la_CFLAGS = $(AM_CFLAGS)
libsphinx_la_SOURCES= ha_sphinx.cc libsphinx_la_SOURCES= ha_sphinx.cc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment