From b7546b45b3c48e2ffa150be72fc6ce03db1adf00 Mon Sep 17 00:00:00 2001 From: Weslly Date: Wed, 29 Mar 2017 16:44:01 -0300 Subject: [PATCH] Fix compiler warnings --- src/http/Service.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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()