diff options
author | Michael Widenius <monty@mariadb.org> | 2018-04-11 02:20:22 +0300 |
---|---|---|
committer | Michael Widenius <monty@mariadb.org> | 2018-04-16 20:16:43 +0300 |
commit | ddc5764303dd72f68d2c69cc574a6f42e8bcf86d (patch) | |
tree | ce22119346b027d359a909f7e272330dabd4c19b /BUILD/SETUP.sh | |
parent | dbbe70e1cfe9d7635d9dba774a2c9dc61163b542 (diff) | |
download | mariadb-git-ddc5764303dd72f68d2c69cc574a6f42e8bcf86d.tar.gz |
Remove compiler warnings
- Remove unused variables
- Mark variables unused
- Fix wrong types
- Add no-strict-aliasing to BUILD scripts
Diffstat (limited to 'BUILD/SETUP.sh')
-rwxr-xr-x | BUILD/SETUP.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 721ed3a4c45..e9bede9c746 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -140,7 +140,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then debug_extra_cflags="-g3" else # Both C and C++ warnings - warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized" + warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing" # For more warnings, uncomment the following line # warnings="$warnings -Wshadow" |