]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r324198: 8081 Compiler warnings in zdb
authormav <mav@FreeBSD.org>
Sun, 18 Feb 2018 04:00:29 +0000 (04:00 +0000)
committermav <mav@FreeBSD.org>
Sun, 18 Feb 2018 04:00:29 +0000 (04:00 +0000)
commita08c55ddb4d3b5b742da7f7d935b0ea42e692590
tree4c4c990232640d76d7bcfb4214a874c8976b69d5
parent7e965503533399eaabb47f10baad50c46e750008
parente8df107e613647b318c72dc21741450e4eea7854
MFV r324198: 8081 Compiler warnings in zdb

illumos/illumos-gate@3f7978d02b206a6ebc5652c91aa9f42da6fbe00c
https://github.com/illumos/illumos-gate/commit/3f7978d02b206a6ebc5652c91aa9f42da6fbe00c

https://www.illumos.org/issues/8081
  zdb(8) is full of minor problems that generate compiler warnings. On FreeBSD,
  which uses -WError, the only way to build it is to disable all compiler
  warnings. This makes it much harder to detect newly introduced bugs. We should
  cleanup all the warnings.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Alan Somers <asomers@gmail.com>
cddl/contrib/opensolaris/cmd/zdb/zdb.c
cddl/contrib/opensolaris/cmd/zdb/zdb.h
cddl/contrib/opensolaris/cmd/zdb/zdb_il.c
cddl/contrib/opensolaris/cmd/ztest/ztest.c
cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h