mariadb/cmd-line-utils
Davi Arnaut 3e9c52250a Bug#45288: pb2 returns a lot of compilation warnings
Fix assorted warnings that are generated in optimized builds.
Most of it is silencing variables that are set but unused.

This patch also introduces the MY_ASSERT_UNREACHABLE macro
which helps the compiler to deduce that a certain piece of
code is unreachable.

include/my_compiler.h:
  Use GCC's __builtin_unreachable if available. It allows
  GCC to deduce the unreachability of certain code paths,
  thus avoiding warnings that, for example, accused that a
  variable could be used without being initialized (due to
  unreachable code paths).
2010-10-20 16:21:40 -02:00
..
libedit Bug#45288: pb2 returns a lot of compilation warnings 2010-10-19 20:36:59 -02:00
readline Bug#45288: pb2 returns a lot of compilation warnings 2010-10-20 16:21:40 -02:00
Makefile.am Many files: 2006-12-23 20:17:15 +01:00