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

Dead code in JavaScript formField module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.14
    • 1.1.0
    • guacamole
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: