From 99c03c0e6856f217bc4669937ffa41d0ed817f2c Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@theqtcompany.com> Date: Tue, 27 Jan 2015 14:33:07 +0100 Subject: [PATCH] SVN: Fix warning raised by clang Change-Id: I95805056160c17030af4d81792c05c48e95da84f Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> --- src/plugins/subversion/subversionclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/subversion/subversionclient.cpp b/src/plugins/subversion/subversionclient.cpp index 06fab66b92c..e4be1ca6328 100644 --- a/src/plugins/subversion/subversionclient.cpp +++ b/src/plugins/subversion/subversionclient.cpp @@ -119,8 +119,9 @@ Core::Id SubversionClient::vcsEditorKind(VcsCommandTag cmd) const switch (cmd) { case VcsBaseClient::LogCommand: return Constants::SUBVERSION_LOG_EDITOR_ID; case VcsBaseClient::AnnotateCommand: return Constants::SUBVERSION_BLAME_EDITOR_ID; + default: + return Core::Id(); } - return Core::Id(); } // Add authorization options to the command line arguments. -- GitLab