summaryrefslogtreecommitdiff
path: root/media-sound/tomahawk/files/tomahawk-0.9.0_pre20181030-fix-warning.patch
blob: 8e02e8e300c3046a169d640933870994ce893971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From cd5444573eec73a564263c20220ba0562cc655c5 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Thu, 8 Nov 2018 15:10:56 +0100
Subject: [PATCH] Fix "control reaches end of non-void function" in
 DelegateConfigWrapper

Thanks-to: Fabian Vogt <fabian@ritter-vogt.de>
---
 src/libtomahawk/accounts/DelegateConfigWrapper.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libtomahawk/accounts/DelegateConfigWrapper.cpp b/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
index e78b64aec..875016ca1 100644
--- a/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
+++ b/src/libtomahawk/accounts/DelegateConfigWrapper.cpp
@@ -247,6 +247,7 @@ DelegateConfigWrapper::getTestConfigMessage( int code )
 	case Tomahawk::Accounts::ConfigTestResultAccountExpired:
 	    return tr( "Your account has expired." );
     }
+    return QString();
 }
 
 
-- 
2.19.1