fix(App): remove useless variable

This commit is contained in:
Ronan Abhamon 2018-10-18 11:16:12 +02:00 committed by Ronan
parent 48aeca28bb
commit 3948f67c07

View file

@ -159,8 +159,6 @@ static inline bool installLocale (App &app, QTranslator &translator, const QLoca
}
static inline shared_ptr<linphone::Config> getConfigIfExists (const QCommandLineParser &parser) {
shared_ptr<linphone::Config> config;
string configPath(Paths::getConfigFilePath(parser.value("config"), false));
if (!Paths::filePathExists(configPath))
configPath.clear();