[Pkg-owncloud-commits] [owncloud-client] 147/171: csync_update: Remove unneeded checks of previous commit.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Feb 17 09:37:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.
commit 57c7727479e1cf9d74b49e3127d693b31091394b
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Jan 29 10:43:31 2016 +0100
csync_update: Remove unneeded checks of previous commit.
---
csync/src/csync_update.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/csync/src/csync_update.c b/csync/src/csync_update.c
index 3274b9c..90208d9 100644
--- a/csync/src/csync_update.c
+++ b/csync/src/csync_update.c
@@ -140,13 +140,6 @@ static bool _csync_filetype_different( const csync_file_stat_t *tmp, const csync
if( tmp->type == CSYNC_FTW_TYPE_SLINK && fs->type != CSYNC_VIO_FILE_TYPE_SYMBOLIC_LINK )
return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_DIRECTORY && tmp->type != CSYNC_FTW_TYPE_DIR )
- return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_REGULAR && tmp->type != CSYNC_FTW_TYPE_FILE )
- return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_SYMBOLIC_LINK && tmp->type != CSYNC_FTW_TYPE_SLINK )
- return true;
-
return false; // both are NOT different.
}
--
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