Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6813 SparkR style guide
  3. SPARK-9249

local variable assigned but may not be used

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • SparkR
    • None

    Description

      local variable assigned but may not be used

      For example:

      R/deserialize.R:105:3: warning: local variable ‘data’ assigned but may not be used
        data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
        ^~~~
      R/deserialize.R:109:3: warning: local variable ‘data’ assigned but may not be used
        data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
        ^~~~
      

      Attachments

        Activity

          People

            yuu.ishikawa@gmail.com Yu Ishikawa
            yuu.ishikawa@gmail.com Yu Ishikawa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: