Skip to content

Commit

Permalink
Resolve unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jul 25, 2024
1 parent a7a6670 commit cc8701d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ std::optional<T> try_load(Loader &&loader, const char *name, Args &&...args) {
} catch (casadi::CasadiException &) {
return std::nullopt;
#else
} catch (dynamic_load_error &e) {
} catch (dynamic_load_error &) {
return std::nullopt;
#endif
} catch (std::out_of_range &) {
Expand Down

0 comments on commit cc8701d

Please sign in to comment.