forked from qt-creator/qt-creator
Android: Remove unreachable return
Reported by Coverity. Change-Id: Id1b67f0adae3ff0c9157428726778c8c3b2a03a7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
476c072b00
commit
70369aca13
@@ -278,18 +278,15 @@ QString packageSubPath(PackageFormat format, BuildConfiguration::BuildType build
|
||||
const bool deb = (buildType == BuildConfiguration::Debug);
|
||||
|
||||
if (format == Apk) {
|
||||
if (deb)
|
||||
if (deb) {
|
||||
return sig ? packageSubPath(Apk, BuildConfiguration::Release, true) // Intentional
|
||||
: QLatin1String("apk/debug/android-build-debug.apk");
|
||||
else
|
||||
}
|
||||
return QLatin1String(sig ? "apk/release/android-build-release-signed.apk"
|
||||
: "apk/release/android-build-release-unsigned.apk");
|
||||
} else {
|
||||
}
|
||||
return QLatin1String(deb ? "bundle/debug/android-build-debug.aab"
|
||||
: "bundle/release/android-build-release.aab");
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
FilePath AndroidManager::packagePath(const Target *target)
|
||||
|
Reference in New Issue
Block a user