[ 
https://issues.apache.org/jira/browse/SPARK-33702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246207#comment-17246207
 ] 

Hyukjin Kwon commented on SPARK-33702:
--------------------------------------

If there are not a lot of false positives, I think it's good to fix.

> Result of add "unused-locals" compile arg to scalac
> ---------------------------------------------------
>
>                 Key: SPARK-33702
>                 URL: https://issues.apache.org/jira/browse/SPARK-33702
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Minor
>         Attachments: unused-locals.log
>
>
> Try to add "unused-locals" compile arg to scalac and collect the warning 
> informations, there are total 184 files and 296 compile warnings about  
> "unused-locals":
>  * core: 92 warnings
>  * mllib-local\mllib:  42 warnings
>  * graphx: 6 warnings
>  * streaming: 14 warnings
>  * Sql\hive\avro: 81 warnings
>  * Yarn\mesos\k8s: 23 warnings
>  * kafka: 3 warnings
>  * kinesis-asl: 4 warnings
>  * examples: 31  warnings



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to