Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
cppcheck.18236
werror-return-type.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File werror-return-type.patch of Package cppcheck.18236
Index: cppcheck-2.12.0/lib/keywords.cpp =================================================================== --- cppcheck-2.12.0.orig/lib/keywords.cpp +++ cppcheck-2.12.0/lib/keywords.cpp @@ -165,6 +166,7 @@ const std::unordered_set<std::string>& K return c23_keywords_all;*/ } assert(false && "unreachable"); + __builtin_unreachable(); } // cppcheck-suppress unusedFunction @@ -185,6 +187,7 @@ const std::unordered_set<std::string>& K return cpp23_keywords_all; } assert(false && "unreachable"); + __builtin_unreachable(); } // cppcheck-suppress unusedFunction @@ -202,6 +205,7 @@ const std::unordered_set<std::string>& K return c23_keywords_all;*/ } assert(false && "unreachable"); + __builtin_unreachable(); } // cppcheck-suppress unusedFunction @@ -223,5 +227,6 @@ const std::unordered_set<std::string>& K return cpp23_keywords; } assert(false && "unreachable"); + __builtin_unreachable(); }
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