Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-5008

CID 1022007 Logically dead code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • Core
    • None

    Description

      if (ink_hash_table_lookup(our_map, virt_ip, &hash_value) != 0) {
      const: At condition in_ext_map, the value of in_ext_map must be equal to 0.
      dead_error_condition: The condition in_ext_map cannot be true.
      620 if (in_ext_map)

      { CID 1022007 (#1 of 1): Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: ret = true;. 621 ret = true; 622 }

      else

      { 623 ret = false; 624 }

      625 }

      Attachments

        Issue Links

          Activity

            People

              ngara Nathan Garabedian
              ngara Nathan Garabedian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m