You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "David Binderman (JIRA)" <ji...@apache.org> on 2018/07/22 10:13:00 UTC

[jira] [Created] (SVN-4765) subversion-1.10.2/subversion/mod_dav_svn/reports/list.c:273: bad if ?

David Binderman created SVN-4765:
------------------------------------

             Summary: subversion-1.10.2/subversion/mod_dav_svn/reports/list.c:273: bad if ?
                 Key: SVN-4765
                 URL: https://issues.apache.org/jira/browse/SVN-4765
             Project: Subversion
          Issue Type: Bug
            Reporter: David Binderman


[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;

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)