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.
This commit is contained in:
Ben Walton 2014-06-02 20:32:16 +01:00 committed by Pádraig Brady
parent a6ee674d64
commit 1239ac573d
2 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,6 @@ Barry Kelly http://barrkel.blogspot.com/
Bauke Jan Douma bjdouma@xs4all.nl
Ben Elliston bje@air.net.au
Ben Harris bjh21@netbsd.org
Ben Walton bwalton@artsci.utoronto.ca
Bengt Martensson bengt@mathematik.uni-Bremen.de
Benjamin Cutler cutlerbc@simla.colostate.edu
Bernard Giroud bernard.giroud@creditlyonnais.ch

View File

@ -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");
}