Git: No else after return

Change-Id: I1c054bbb3b7a7060775e8015a74ee396cf84cca1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2019-12-29 19:39:45 +01:00
committed by André Hartmann
parent c217b2c94a
commit d5cbdde11f

View File

@@ -1210,7 +1210,9 @@ void GitPluginPrivate::startChangeRelatedAction(const Id &id)
if (dialog.command() == Show) {
m_gitClient.show(workingDirectory, change);
return;
} else if (dialog.command() == Archive) {
}
if (dialog.command() == Archive) {
m_gitClient.archive(workingDirectory, change);
return;
}