From d99350842a11467e4281d42008ad884e153f8ab2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 5 Apr 2006 17:50:33 +0400 Subject: Remove dead code from BUILD/ scripts: $debug_extra_warnings is never defined. It was used at some point to add -Wuninitialized to debug flags, but not any more. If there is still need to add -Wunitialized, it can be added directly to $global_warnings. BUILD/compile-amd64-debug-max-no-ndb: Remove a no-op. BUILD/compile-amd64-debug-max: Remove a no-op. BUILD/compile-darwin-mwcc: Remove a no-op. BUILD/compile-pentium-debug-max-no-embedded: Remove a no-op. BUILD/compile-pentium-debug-max-no-ndb: Remove a no-op. BUILD/compile-pentium-debug-max: Remove a no-op. BUILD/compile-pentium-debug-openssl: Remove a no-op. BUILD/compile-pentium-debug-yassl: Remove a no-op. BUILD/compile-pentium-debug: Remove a no-op. BUILD/compile-pentium-mysqlfs-debug: Remove a no-op. BUILD/compile-pentium-valgrind-max: Remove a no-op. BUILD/compile-pentium64-debug-max: Remove a no-op. BUILD/compile-pentium64-debug: Remove a no-op. BUILD/compile-pentium64-valgrind-max: Remove a no-op. BUILD/compile-ppc-debug-max-no-ndb: Remove a no-op. BUILD/compile-ppc-debug-max: Remove a no-op. BUILD/compile-ppc-debug: Remove a no-op. --- BUILD/compile-amd64-debug-max | 2 -- BUILD/compile-amd64-debug-max-no-ndb | 2 -- BUILD/compile-darwin-mwcc | 4 ---- BUILD/compile-pentium-debug | 6 +----- BUILD/compile-pentium-debug-max | 2 -- BUILD/compile-pentium-debug-max-no-embedded | 2 -- BUILD/compile-pentium-debug-max-no-ndb | 2 -- BUILD/compile-pentium-debug-openssl | 2 -- BUILD/compile-pentium-debug-yassl | 2 -- BUILD/compile-pentium-mysqlfs-debug | 2 -- BUILD/compile-pentium-valgrind-max | 2 -- BUILD/compile-pentium64-debug | 2 -- BUILD/compile-pentium64-debug-max | 2 -- BUILD/compile-pentium64-valgrind-max | 2 -- BUILD/compile-ppc-debug | 2 -- BUILD/compile-ppc-debug-max | 2 -- BUILD/compile-ppc-debug-max-no-ndb | 2 -- 17 files changed, 1 insertion(+), 39 deletions(-) diff --git a/BUILD/compile-amd64-debug-max b/BUILD/compile-amd64-debug-max index 49cfb8bd211..f08e068135a 100755 --- a/BUILD/compile-amd64-debug-max +++ b/BUILD/compile-amd64-debug-max @@ -2,8 +2,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$amd64_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$amd64_configs $debug_configs $max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-amd64-debug-max-no-ndb b/BUILD/compile-amd64-debug-max-no-ndb index 9fe0c57de61..8babab44481 100755 --- a/BUILD/compile-amd64-debug-max-no-ndb +++ b/BUILD/compile-amd64-debug-max-no-ndb @@ -2,8 +2,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$amd64_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$amd64_configs $debug_configs $max_no_ndb_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-darwin-mwcc b/BUILD/compile-darwin-mwcc index a0b214778c0..9ad8d5d40b5 100755 --- a/BUILD/compile-darwin-mwcc +++ b/BUILD/compile-darwin-mwcc @@ -31,14 +31,10 @@ else ;; debug) extra_flags="$ppc_cflags $debug_cflags" - c_warnings="$c_warnings $debug_extra_warnings" - cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$debug_configs" ;; debug-max) extra_flags="$ppc_cflags $debug_cflags" - c_warnings="$c_warnings $debug_extra_warnings" - cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$debug_configs $max_configs" ;; *) diff --git a/BUILD/compile-pentium-debug b/BUILD/compile-pentium-debug index 7957caead29..db2bbea02f4 100755 --- a/BUILD/compile-pentium-debug +++ b/BUILD/compile-pentium-debug @@ -4,10 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" $@ --with-debug=full extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" -extra_configs="$pentium_configs $debug_configs " - -extra_configs="$extra_configs" +extra_configs="$pentium_configs $debug_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-pentium-debug-max b/BUILD/compile-pentium-debug-max index a7c2b13275f..cf7f00161fb 100755 --- a/BUILD/compile-pentium-debug-max +++ b/BUILD/compile-pentium-debug-max @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" $@ --with-debug=full extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-pentium-debug-max-no-embedded b/BUILD/compile-pentium-debug-max-no-embedded index 3d34bb4ee6c..35cb61d2ac5 100755 --- a/BUILD/compile-pentium-debug-max-no-embedded +++ b/BUILD/compile-pentium-debug-max-no-embedded @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $base_max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-pentium-debug-max-no-ndb b/BUILD/compile-pentium-debug-max-no-ndb index 8186747dff8..3a94e89439a 100755 --- a/BUILD/compile-pentium-debug-max-no-ndb +++ b/BUILD/compile-pentium-debug-max-no-ndb @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" $@ --with-debug=full extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $max_no_ndb_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-pentium-debug-openssl b/BUILD/compile-pentium-debug-openssl index 68d99b6eda6..91c3b448c7e 100755 --- a/BUILD/compile-pentium-debug-openssl +++ b/BUILD/compile-pentium-debug-openssl @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs" extra_configs="$extra_configs --with-debug=full --with-openssl" diff --git a/BUILD/compile-pentium-debug-yassl b/BUILD/compile-pentium-debug-yassl index 666e73d0267..84ca489903d 100755 --- a/BUILD/compile-pentium-debug-yassl +++ b/BUILD/compile-pentium-debug-yassl @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs" extra_configs="$extra_configs --with-debug=full --with-yassl" diff --git a/BUILD/compile-pentium-mysqlfs-debug b/BUILD/compile-pentium-mysqlfs-debug index 6643553d943..c871200604e 100755 --- a/BUILD/compile-pentium-mysqlfs-debug +++ b/BUILD/compile-pentium-mysqlfs-debug @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $static_link" extra_configs="$extra_configs --with-debug=full --with-mysqlfs --without-server --without-pstack" diff --git a/BUILD/compile-pentium-valgrind-max b/BUILD/compile-pentium-valgrind-max index 4df9e484a84..09cc162d2be 100755 --- a/BUILD/compile-pentium-valgrind-max +++ b/BUILD/compile-pentium-valgrind-max @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium_cflags $debug_cflags $valgrind_flags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-pentium64-debug b/BUILD/compile-pentium64-debug index 0299669f79a..761c590b680 100755 --- a/BUILD/compile-pentium64-debug +++ b/BUILD/compile-pentium64-debug @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" $@ --with-debug=full extra_flags="$pentium64_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $static_link" extra_configs="$extra_configs " diff --git a/BUILD/compile-pentium64-debug-max b/BUILD/compile-pentium64-debug-max index 450770976f6..594fe2e3009 100755 --- a/BUILD/compile-pentium64-debug-max +++ b/BUILD/compile-pentium64-debug-max @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" $@ --with-debug=full extra_flags="$pentium64_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $max_configs" extra_configs="$extra_configs " diff --git a/BUILD/compile-pentium64-valgrind-max b/BUILD/compile-pentium64-valgrind-max index bcc4929610b..fa476cbb50a 100755 --- a/BUILD/compile-pentium64-valgrind-max +++ b/BUILD/compile-pentium64-valgrind-max @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$pentium64_cflags $debug_cflags $valgrind_flags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs $max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-ppc-debug b/BUILD/compile-ppc-debug index 2be11eaaf22..99e9364a5e2 100755 --- a/BUILD/compile-ppc-debug +++ b/BUILD/compile-ppc-debug @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$ppc_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$debug_configs " extra_configs="$extra_configs" diff --git a/BUILD/compile-ppc-debug-max b/BUILD/compile-ppc-debug-max index 1dcfc751a46..7c1a593869f 100755 --- a/BUILD/compile-ppc-debug-max +++ b/BUILD/compile-ppc-debug-max @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$ppc_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$debug_configs $max_configs" . "$path/FINISH.sh" diff --git a/BUILD/compile-ppc-debug-max-no-ndb b/BUILD/compile-ppc-debug-max-no-ndb index 3ad893add77..7b39aa25dff 100755 --- a/BUILD/compile-ppc-debug-max-no-ndb +++ b/BUILD/compile-ppc-debug-max-no-ndb @@ -4,8 +4,6 @@ path=`dirname $0` . "$path/SETUP.sh" extra_flags="$ppc_cflags $debug_cflags" -c_warnings="$c_warnings $debug_extra_warnings" -cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$debug_configs $max_no_ndb_configs" . "$path/FINISH.sh" -- cgit v1.2.1