csync_update: Remove unneeded checks of previous commit.
authorKlaas Freitag <freitag@owncloud.com>
Fri, 29 Jan 2016 09:43:31 +0000 (10:43 +0100)
committerKlaas Freitag <freitag@owncloud.com>
Fri, 29 Jan 2016 09:43:31 +0000 (10:43 +0100)
csync/src/csync_update.c

index 3274b9cc4f029765c3c188b530115c8bf8345bf8..90208d92a2ed5be762b7ae2a4d320083f7859c49 100644 (file)
@@ -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.
 }