]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: avoid clang -Wtautological-constant-out-of-range-compare warning
authorPádraig Brady <P@draigBrady.com>
Mon, 12 May 2014 14:46:43 +0000 (15:46 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 13 May 2014 22:23:30 +0000 (23:23 +0100)
commitffd1a1d8dee921e20db515e7d4b3c3e47006c8b4
treec359163ce23eea2ffd65278ed5297596d08e5f72
parentcbfb34c7d32e888b39e03a51a374ed664e9fa31b
maint: avoid clang -Wtautological-constant-out-of-range-compare warning

* src/df.c (decode_output_arg): Use only enum constants to avoid
clang "warning: comparison of constant -1 with expression of
type 'display_field_t' is always false"
src/df.c