[ https://issues.apache.org/jira/browse/SPARK-9249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14639945#comment-14639945 ]
Yu Ishikawa edited comment on SPARK-9249 at 7/24/15 5:22 AM: ------------------------------------------------------------- [~chanchal.spark] Yes. I think we should remove local variables which are not used, such as below. https://github.com/apache/spark/blob/branch-1.4/R/pkg/R/deserialize.R#L104 was (Author: yuu.ishik...@gmail.com): [~chanchal.spark] Yes. I think we should remove local variables which is not used, such as below. https://github.com/apache/spark/blob/branch-1.4/R/pkg/R/deserialize.R#L104 > local variable assigned but may not be used > ------------------------------------------- > > Key: SPARK-9249 > URL: https://issues.apache.org/jira/browse/SPARK-9249 > Project: Spark > Issue Type: Sub-task > Components: SparkR > Reporter: Yu Ishikawa > Priority: Minor > > local variable assigned but may not be used > For example: > {noformat} > 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") > ^~~~ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org