Skip to content

Unreachable statements in clock/clock.h #31

@codylico

Description

@codylico

From building munit-plus on Travis CI (built with C++ 2011 on PGI C++ compiler):

pgc++  --c++11 -mp -o example munit.cpp example.cpp
munit.cpp:
"munit.cpp", line 596: warning: statement is unreachable
    return 0;
    ^
"munit.cpp", line 654: warning: statement is unreachable
    return 0;
    ^
"munit.cpp", line 714: warning: statement is unreachable
    return 0;
    ^

The relevant lines on this repository seem to be in clock/clock.h (commit 5834798):

Feel free to label as wontfix.

Here is a link to the relevant build job on Travis CI: https://travis-ci.com/github/codylico/munit-plus/jobs/300147973

Here is a link to the GitHub repository for the project:
https://github.com/codylico/munit-plus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions