Skip to content

Commit

Permalink
Fix some msvc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Feb 20, 2025
1 parent ca8416e commit e86f4eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/symbol_tables/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void dump_symbols(const std::filesystem::path& path) {
fmt::println("Not implemented yet (TODO)");
}
#else
void dump_symbols(const std::filesystem::path& path) {
void dump_symbols(const std::filesystem::path&) {
fmt::println("Unable to dump symbol table on this platform");
}
#endif
Expand Down Expand Up @@ -76,6 +76,7 @@ int main(int argc, char** argv) CPPTRACE_TRY {
return 1;
}
dump_symbols(path);
return 0;
} CPPTRACE_CATCH(const std::exception& e) {
fmt::println(stderr, "Caught exception {}: {}", cpptrace::demangle(typeid(e).name()), e.what());
cpptrace::from_current_exception().print();
Expand Down

0 comments on commit e86f4eb

Please sign in to comment.