[Pkg-owncloud-commits] [owncloud-client] 42/70: owncloudcmd: Fix structurally dead code.

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 1dd58a537ed04996ed5c45261bbbac21e2e59df1
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Jun 20 12:34:15 2014 +0200

    owncloudcmd: Fix structurally dead code.
    
    This fixes Coverity CID 12928
---
 src/owncloudcmd/owncloudcmd.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index a1746f9..23a110f 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -177,7 +177,6 @@ int main(int argc, char **argv) {
     if( csync_init( _csync_ctx ) < 0 ) {
         qFatal("Could not initialize csync!");
         return EXIT_FAILURE;
-        _csync_ctx = 0;
     }
 
     csync_set_module_property(_csync_ctx, "csync_context", _csync_ctx);

-- 
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