From 0b313e0bc3796d597e664454dd8254aad1b6eaa1 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 5 Dec 2016 20:20:01 +0800 Subject: [PATCH] Remove unused variable --- src/base/utils/fs.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/base/utils/fs.cpp b/src/base/utils/fs.cpp index 5cb910243..e37a750ef 100644 --- a/src/base/utils/fs.cpp +++ b/src/base/utils/fs.cpp @@ -372,7 +372,6 @@ QString Utils::Fs::QDesktopServicesDataLocation() OSErr err = FSFindFolder(kUserDomain, kApplicationSupportFolderType, false, &ref); if (err) return QString(); - QString path; QByteArray ba(2048, 0); if (FSRefMakePath(&ref, reinterpret_cast(ba.data()), ba.size()) == noErr) result = QString::fromUtf8(ba).normalized(QString::NormalizationForm_C);