Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4765

subversion-1.10.2/subversion/mod_dav_svn/reports/list.c:273: bad if ?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

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

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcb David Binderman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: