File 0001-Fix-control-reaches-end-of-non-void-function-in-Dele.patch of Package tomahawk
From 8e290e398812aa32eeded1a7ceedae36dc8a8c59 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sun, 10 Dec 2017 09:30:53 +0100
Subject: [PATCH] Fix "control reaches end of non-void function" in
DelegateConfigWrapper
---
src/libtomahawk/accounts/DelegateConfigWrapper.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libtomahawk/accounts/DelegateConfigWrapper.cpp b/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
index e78b64aec..184076e26 100644
--- a/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
+++ b/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
@@ -246,6 +246,8 @@ DelegateConfigWrapper::getTestConfigMessage( int code )
return tr( "Action not allowed, account is in use elsewhere." );
case Tomahawk::Accounts::ConfigTestResultAccountExpired:
return tr( "Your account has expired." );
+ default:
+ return QString();
}
}
--
2.15.0