Skip to content

Commit

Permalink
Fix unushed parameter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
christophebedard committed Apr 23, 2021
1 parent 9e32dd4 commit 2c9d878
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,10 @@ class StackTrace : public StackTraceImpl<system_tag::current_tag> {};

class TraceResolverImplBase {
public:
virtual void load_addresses(void *const*addresses, int address_count) {}
virtual void load_addresses(void *const*addresses, int address_count) {
(void)addresses;
(void)address_count;
}

template <class ST> void load_stacktrace(ST &st) {
load_addresses(st.begin(), (int)st.size());
Expand Down

0 comments on commit 2c9d878

Please sign in to comment.