mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
017281da24
GCC 4.6 has new -Wunused-but-set-variable flag, which is enabled by -Wall, that causes GCC to emit a warning whenever a local variable is assigned to, but otherwise unused (aside from its declaration). Since the maintainer mode uses -Wall and -Werror, source code which triggers these warnings will be rejected. That is, these warnings become hard errors. The solution is to fix the code which triggers these specific warnings. In most of the cases, this is a welcome cleanup as code which triggers this warning is probably dead anyway. |
||
---|---|---|
.. | ||
btr0btr.c | ||
btr0cur.c | ||
btr0pcur.c | ||
btr0sea.c |