Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1423

Nesting level does not match indentation (NESTING_INDENT_MISMATCH)

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.3 beta 1, 2.4.3
    • Component/s: None
    • Labels:
      None

      Description

      Found by coverity.

      Nesting level does not match indentation (NESTING_INDENT_MISMATCH). uncle: This statement is indented to column 17, as if it were nested within the preceding parent statement, but it is not.

      foldersync.php, line 146.

              else {
      145            // check for a potential process loop like described in Issue ZP-5
         	parent: This 'if' statement is the parent, indented to column 13.
      146            if ($synckey != "0" && self::$deviceManager->IsHierarchyFullResyncRequired())
         	nephew: This statement is nested within its parent, indented to column 17.
      147                $status = SYNC_FSSTATUS_SYNCKEYERROR;
         	
      CID 278716 (#1 of 1): Nesting level does not match indentation (NESTING_INDENT_MISMATCH)
      uncle: This statement is indented to column 17, as if it were nested within the preceding parent statement, but it is not.
      148                self::$deviceManager->AnnounceProcessStatus(false, $status);
      149        }
      

      https://scan4.coverity.com/reports.htm#v37557/p14761/fileInstanceId=42305233&defectInstanceId=7831380&mergedDefectId=278716&eventId=7831380-2

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Manfred Manfred Kutas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: