Commits


Kenta Murata authored and Antoine Pitrou committed 46cdf557eb7
ARROW-6814: [C++] Resolve compiler warnings occurred on release build I'd like to resolve compiler warnings I encountered on release build using gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1). The log is available in this gist: https://gist.github.com/mrkn/f7739edb301988a24e9d6066410b0625 Closes #5603 from mrkn/ARROW-6814 and squashes the following commits: 8d1cab2dc <Kenta Murata> Stop using DCHECK and follow the standard error process 2bdfe41ef <Kenta Murata> Fix code format f342fe7f1 <Kenta Murata> Use nullptr instead of NULLPTR b149d409f <Kenta Murata> Use DCHECK for unreachable guard 2dc6c4f75 <Kenta Murata> Use ARROW_UNUSED macro 588a37358 <Kenta Murata> Resolve compiler warning for -Wformat-truncation 3b2d69aa3 <Kenta Murata> Resolve compiler warnings for -Warray-bounds 784feba07 <Kenta Murata> Resolve compiler warnings for -Wunused-but-set-variable b0c3d2be7 <Kenta Murata> Resolve compiler warnings for -Wmaybe-uninitialized c58a1e6ab <Kenta Murata> Resolve a compiler warning for -Wstrict-aliasing Authored-by: Kenta Murata <mrkn@mrkn.jp> Signed-off-by: Antoine Pitrou <pitrou@free.fr>