From e2fdd29aadeb75fac6fc7701ac36afd6615ed4da Mon Sep 17 00:00:00 2001
From: maitesin <violador.de.segmentos@gmail.com>
Date: Wed, 12 Aug 2015 19:29:31 +0100
Subject: [PATCH] Simplified return

---
 src/Config.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/Config.cpp b/src/Config.cpp
index add85f4..ebfa232 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -213,12 +213,7 @@ bool Config::readConfigFile(std::string configPath)
         }
     }
 
-    if (name_.empty())
-    {
-        return false;
-    }
-
-    return true;
+    return ! name_.empty();
 }
 
 std::vector<std::string> Config::splitValue(Vita::string str, Vita::string onlyEnding)
-- 
GitLab