From: Ondrej Kozina Date: Tue, 12 Mar 2013 15:52:21 +0000 (+0100) Subject: - do not test types matching in cmpFilesXattrs() X-Git-Tag: v0.1.3~18^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c131996f40d06b7c9e1e9999f559193aceba5160;p=thirdparty%2Fsnapper.git - do not test types matching in cmpFilesXattrs() --- diff --git a/snapper/Compare.cc b/snapper/Compare.cc index e19bb7c0..fd47951d 100644 --- a/snapper/Compare.cc +++ b/snapper/Compare.cc @@ -473,9 +473,6 @@ namespace snapper bool cmpFilesXattrs(const SFile& file1, const struct stat& stat1, const SFile& file2, const struct stat& stat2) { - if ((stat1.st_mode & S_IFMT) != (stat2.st_mode & S_IFMT)) - throw LogicErrorException(); - bool retval; try