Skip to content

Commit

Permalink
Removed an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Oct 8, 2020
1 parent 8e7e242 commit afd4c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addon/manager.cpp
Expand Up @@ -169,7 +169,7 @@ std::map<std::string, std::string> installed_addons_and_versions()
if(have_addon_pbl_info(addon_id)) {
try {
addons[addon_id] = get_addon_pbl_info(addon_id)["version"].str();
} catch(const invalid_pbl_exception& e) {
} catch(const invalid_pbl_exception&) {
addons[addon_id] = "Invalid pbl file, version unknown";
}
} else if(filesystem::file_exists(get_info_file_path(addon_id))) {
Expand Down

0 comments on commit afd4c39

Please sign in to comment.