Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:Update
coreutils-testsuite.669
coreutils-avoid_compiler_warnings_with_some_ass...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File coreutils-avoid_compiler_warnings_with_some_assert_implementations.patch of Package coreutils-testsuite.669
commit 1239ac573df0a699d6999aed23caaf4a0eb099df Author: Ben Walton <bdwalton@gmail.com> Date: Mon Jun 2 20:32:16 2014 +0100 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. diff --git a/THANKS.in b/THANKS.in index a92540a..6fd79d3 100644 --- a/THANKS.in +++ b/THANKS.in @@ -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 diff --git a/src/df.c b/src/df.c index 82b0c5f..747d138 100644 --- a/src/df.c +++ b/src/df.c @@ -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"); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor