diff options
author | Ben Walton <bdwalton@gmail.com> | 2014-06-02 20:32:16 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-02 20:44:07 +0100 |
commit | 1239ac573df0a699d6999aed23caaf4a0eb099df (patch) | |
tree | ec31411dec131c8b0b86dae2c83819d169df72ed /src | |
parent | a6ee674d643d187216d426fcdb7789769aaa4ea2 (diff) | |
download | coreutils-1239ac573df0a699d6999aed23caaf4a0eb099df.tar.xz |
maint: avoid compiler warnings with some assert() implementations
* src/df.c (get_dev): asssert() on Solaris 10 is not marked as
__noreturn__ and thus the compiler may think V is uninitialized
later on in the function.
* THANKS.in: Remove the now committer.
Diffstat (limited to 'src')
-rw-r--r-- | src/df.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -953,6 +953,7 @@ get_dev (char const *disk, char const *mount_point, char const* file, v = NULL; break; default: + v = NULL; /* Avoid warnings where assert() is not __noreturn__. */ assert (!"bad field_type"); } |