Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
orontee committed Nov 23, 2024
1 parent c0c4bde commit 97510d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
13 changes: 0 additions & 13 deletions src/app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -543,19 +543,6 @@ void App::set_model_location(const Location &location) const {
CallContext::triggered_by_model_change);
}

void App::update_configured_unit_system(UnitSystem unit_system) {
BOOST_LOG_TRIVIAL(debug) << "Updating configured unit system";

if (unit_system == this->model->unit_system) {
BOOST_LOG_TRIVIAL(debug) << "No need to update configured unit system";

return;
}
this->config->write_int("unit_system", unit_system);

Config::config_changed();
}

void App::check_minimum_supported_firmware() {
const auto firmware_version = GetSoftwareVersion();
try {
Expand Down
2 changes: 0 additions & 2 deletions src/app.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ class App {

void set_model_location(const Location &location) const;

void update_configured_unit_system(UnitSystem unit_system);

void check_minimum_supported_firmware();

void set_app_capabilities();
Expand Down

0 comments on commit 97510d5

Please sign in to comment.