Skip to content

C-API: Unreachable Code in demo and test source #128

@CarawaySeed42

Description

@CarawaySeed42

Most demo and test source files contain "return -1" after the call to function "usage()".
The return statement is unreachable because the usage function already terminates the program
with exit code -1.
This leads to a lot of warnings that clutter the build output when compiling using cl/MSVC
with the current warning settings defined in the CMake listfiles.

Metadata

Metadata

Assignees

Labels

isState:NewA new issue that needs to be classified to a type.isType:BugAn issue that contains contradictions or errors in the standard.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions