[Pkg-owncloud-commits] [owncloud-client] 54/498: Folderman: Fix crash when adding an account
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 23dc464ea2d78e4d745587ff0444eaaa240ac889
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Mon Apr 27 14:34:39 2015 +0200
Folderman: Fix crash when adding an account
Clang is picky if we forget to return a value
---
src/gui/folderman.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index 3ee2186..d0588ac 100644
--- a/src/gui/folderman.cpp
+++ b/src/gui/folderman.cpp
@@ -746,6 +746,7 @@ Folder* FolderMan::addFolder(AccountState* accountState, const FolderDefinition&
auto folder = addFolderInternal(accountState, folderDefinition);
folder->saveToSettings();
+ return folder;
}
Folder* FolderMan::addFolderInternal(AccountState* accountState, const FolderDefinition& folderDefinition)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list