mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Unused variable
This commit is contained in:
@@ -428,7 +428,7 @@ namespace hex::plugin::builtin {
|
||||
});
|
||||
|
||||
static ContentRegistry::Settings::SettingsVariable<bool, "hex.builtin.setting.interface", "hex.builtin.setting.interface.show_task_finish_notification"> taskFinishedNotificationEnabled = false;
|
||||
TaskManager::addTaskCompletionCallback([](Task &task) {
|
||||
TaskManager::addTaskCompletionCallback([]([[maybe_unused]] Task &task) {
|
||||
if (!taskFinishedNotificationEnabled)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user