Skip to content

Warning C4101 unreferenced local variable #29

Description

@zfengyan

Line 732 ->:

catch(const std::exception &e){
        return false;
      }

the parameter e is not used, thus MSVC may give a warning.

solution:

catch(const std::exception &e){
        std::cerr << "exception caught: " << e.what() << '\n';
        return false;
      }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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