Skip to content

Warning C4101 unreferenced local variable #29

@zfengyan

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;
      }

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