Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-585

Dead code in JavaScript formField module

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.14
    • Fix Version/s: 1.1.0
    • Component/s: guacamole
    • Labels:
      None

      Description

      Reported by Coverity:

      ________________________________________________________________________________________________________

          • CID 1436956: Control flow issues (DEADCODE)
            /guacamole/src/main/webapp/app/form/directives/formField.js: 125 in $scope.getFieldOption()
            119 $scope.getFieldOption = function getFieldOption(value)
            Unknown macro: { 120 121 // If no field, or no value, then no corresponding translation string 122 if (!$scope.field || !$scope.field.name || !value) 123 return ''; 124 >>> CID 1436956}

            ;
            130

        Attachments

          Activity

            People

            • Assignee:
              vnick Nick Couchman
              Reporter:
              vnick Nick Couchman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: