[Pkg-owncloud-commits] [owncloud-client] 45/70: csync core: Remove logically dead code: Can never be reached.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:21 UTC 2014
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 db3d2eed5fcd63e0a14b99ad7f7162bd42a3b562
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Jun 20 13:08:03 2014 +0200
csync core: Remove logically dead code: Can never be reached.
This fixes Coverity CID 12881
---
csync/src/csync.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/csync/src/csync.c b/csync/src/csync.c
index 065d4e1..73bff40 100644
--- a/csync/src/csync.c
+++ b/csync/src/csync.c
@@ -277,11 +277,6 @@ int csync_update(CSYNC *ctx) {
c_secdiff(finish, start), c_rbtree_size(ctx->local.tree));
csync_memstat_check();
- if (rc < 0) {
- ctx->status_code = CSYNC_STATUS_TREE_ERROR;
- return -1;
- }
-
/* update detection for remote replica */
if( ! ctx->options.local_only_mode ) {
csync_gettime(&start);
--
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