From 94d68777bbb0ebd42674a4fae77c414050ef57d8 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 13 Jun 2012 12:59:45 +0300 Subject: Fixed some compiler warnings and test failures found by buildbot client/mysqldump.c: Added LINT_INIT mysql-test/mysql-test-run.pl: Disable warning if example engine is not found mysql-test/suite/rpl/t/rpl_semi_sync.test: Rpl_semi_sync_master_yes_tx may be different on Windows sql/sql_plugin.cc: More DBUG_PRINT support-files/compiler_warnings.supp: Disable some innobase warnings unittest/mysys/my_vsnprintf-t.c: Fixed test failure on Solaris (typo) --- support-files/compiler_warnings.supp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'support-files') diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp index 46384fbe48d..637c3950b63 100644 --- a/support-files/compiler_warnings.supp +++ b/support-files/compiler_warnings.supp @@ -132,7 +132,7 @@ storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used # # This warning is strange; We should not get it with -DFORCE_INIT_OF_VARS # I added the suprression as I was not able to remove this warning :( -storage/maria/ma_check.c: may be used uninitialized in this function : 1300-1500 +storage/maria/ma_check.c: may be used uninitialized in this function : 1200-1500 # # Pbxt @@ -202,6 +202,8 @@ regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer t libmysql\.c: passing argument 2 of .*memcpy.* discards qualifiers from pointer target type : 3000-4000 storage/xtradb/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500 storage/xtradb/sync/sync0rw\.c : passing argument 1 of .*memset.* discards qualifiers from pointer target type : 200-300 +storage/innobase/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500 +storage/innobase/sync/sync0rw\.c : passing argument 1 of .*memset.* discards qualifiers from pointer target type : 200-300 # # Strange things from autoconf that is probably safe to ignore -- cgit v1.2.1