Commit 59f20d29 authored by konstantin@mysql.com's avatar konstantin@mysql.com

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.
parent d26cf9f2
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
path=`dirname $0` path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$amd64_cflags $debug_cflags" 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" extra_configs="$amd64_configs $debug_configs $max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
path=`dirname $0` path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$amd64_cflags $debug_cflags" 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" extra_configs="$amd64_configs $debug_configs $max_no_ndb_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -31,14 +31,10 @@ else ...@@ -31,14 +31,10 @@ else
;; ;;
debug) debug)
extra_flags="$ppc_cflags $debug_cflags" 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="$debug_configs"
;; ;;
debug-max) debug-max)
extra_flags="$ppc_cflags $debug_cflags" 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" extra_configs="$debug_configs $max_configs"
;; ;;
*) *)
......
...@@ -4,10 +4,6 @@ path=`dirname $0` ...@@ -4,10 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full . "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium_cflags $debug_cflags" extra_flags="$pentium_cflags $debug_cflags"
c_warnings="$c_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs"
cxx_warnings="$cxx_warnings $debug_extra_warnings"
extra_configs="$pentium_configs $debug_configs "
extra_configs="$extra_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full . "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium_cflags $debug_cflags" 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" extra_configs="$pentium_configs $debug_configs $max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags" 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" extra_configs="$pentium_configs $debug_configs $base_max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full . "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium_cflags $debug_cflags" 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" extra_configs="$pentium_configs $debug_configs $max_no_ndb_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags" 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="$pentium_configs $debug_configs"
extra_configs="$extra_configs --with-debug=full --with-openssl" extra_configs="$extra_configs --with-debug=full --with-openssl"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags" 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="$pentium_configs $debug_configs"
extra_configs="$extra_configs --with-debug=full --with-yassl" extra_configs="$extra_configs --with-debug=full --with-yassl"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags" 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="$pentium_configs $debug_configs $static_link"
extra_configs="$extra_configs --with-debug=full --with-mysqlfs --without-server --without-pstack" extra_configs="$extra_configs --with-debug=full --with-mysqlfs --without-server --without-pstack"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags $valgrind_flags" 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" extra_configs="$pentium_configs $debug_configs $max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full . "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium64_cflags $debug_cflags" 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="$pentium_configs $debug_configs $static_link"
extra_configs="$extra_configs " extra_configs="$extra_configs "
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full . "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium64_cflags $debug_cflags" 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="$pentium_configs $debug_configs $max_configs"
extra_configs="$extra_configs " extra_configs="$extra_configs "
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$pentium64_cflags $debug_cflags $valgrind_flags" 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" extra_configs="$pentium_configs $debug_configs $max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$ppc_cflags $debug_cflags" 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="$debug_configs "
extra_configs="$extra_configs" extra_configs="$extra_configs"
......
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$ppc_cflags $debug_cflags" 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" extra_configs="$debug_configs $max_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
...@@ -4,8 +4,6 @@ path=`dirname $0` ...@@ -4,8 +4,6 @@ path=`dirname $0`
. "$path/SETUP.sh" . "$path/SETUP.sh"
extra_flags="$ppc_cflags $debug_cflags" 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" extra_configs="$debug_configs $max_no_ndb_configs"
. "$path/FINISH.sh" . "$path/FINISH.sh"
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