mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
12c1acde76
As of gcc-4.6 the option -Wunused-but-set-variable is enabled by default. While this is a useful warning there are numerous places in the ZFS code when a variable is set and then only checked in an ASSERT(). To avoid having to update every instance of this in the code we now set -Wno-unused-but-set-variable to suppress the warning. Additionally, when building with --enable-debug and -Werror set these warning also become fatal. We can reevaluate the suppression of these error at a later time if it becomes an issue. For now we are basically just reverting to the previous gcc behavior. |
||
---|---|---|
.. | ||
asm-generic | ||
asm-i386 | ||
asm-x86_64 | ||
include | ||
getexecname.c | ||
gethrestime.c | ||
gethrtime.c | ||
getmntany.c | ||
list.c | ||
Makefile.am | ||
Makefile.in | ||
mkdirp.c | ||
strlcat.c | ||
strlcpy.c | ||
strnlen.c | ||
timestamp.c | ||
xdr.c | ||
zone.c |