diff --git a/src/http/Service.cpp b/src/http/Service.cpp index 25c69f614..b2ae0a803 100644 --- a/src/http/Service.cpp +++ b/src/http/Service.cpp @@ -84,6 +84,8 @@ bool Service::isDatabaseOpened() const case DatabaseWidget::ViewMode: case DatabaseWidget::EditMode: return true; + default: + break; } return false; } @@ -101,6 +103,8 @@ bool Service::openDatabase() case DatabaseWidget::ViewMode: case DatabaseWidget::EditMode: return true; + default: + break; } } //if (HttpSettings::showNotification()