Pārlūkot izejas kodu

csync_update: Remove unneeded checks of previous commit.

Klaas Freitag 10 gadi atpakaļ
vecāks
revīzija
57c7727479
1 mainītis faili ar 0 papildinājumiem un 7 dzēšanām
  1. 0 7
      csync/src/csync_update.c

+ 0 - 7
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.
 }