subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Binderman <dcb...@hotmail.com>
Subject subversion-1.10.2/subversion/mod_dav_svn/reports/list.c:273L bad if ?
Date Sun, 22 Jul 2018 10:18:53 GMT
Hello there,


subversion-1.10.2/subversion/mod_dav_svn/reports/list.c:273]: (style) Expression is always
false because 'else if' condition matches previous condition at line 271.

Source code is


         else if (strcmp(name, "DAV:" SVN_DAV__VERSION_NAME) == 0)
            lrb.dirent_fields |= SVN_DIRENT_CREATED_REV;
          else if (strcmp(name, "DAV:" SVN_DAV__CREATIONDATE) == 0)
            lrb.dirent_fields |= SVN_DIRENT_TIME;


Regards


David Binderman


Mime
View raw message