From 3948f67c07d0cf004f756dc3fd785e2b41fbd951 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 18 Oct 2018 11:16:12 +0200 Subject: [PATCH] fix(App): remove useless variable --- src/app/App.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/App.cpp b/src/app/App.cpp index 577f16822..681f4315d 100644 --- a/src/app/App.cpp +++ b/src/app/App.cpp @@ -159,8 +159,6 @@ static inline bool installLocale (App &app, QTranslator &translator, const QLoca } static inline shared_ptr getConfigIfExists (const QCommandLineParser &parser) { - shared_ptr config; - string configPath(Paths::getConfigFilePath(parser.value("config"), false)); if (!Paths::filePathExists(configPath)) configPath.clear();