Actions
Bug #18729
closedCompilation warning (unused variable) in 6.2.0-rc1
Status:
Released
Priority:
5 (lowest)
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
I have that in the compilation of 6.2.0:
15:27:36 [WARNING] /home/jenkins/workspace/mvn-rudder-6.2/webapp/sources/rudder/rudder-web/src/main/scala/com/normation/rudder/web/services/SrvGrid.scala:130: warning: local val globalOverride in method initJs is never used 15:27:36 [WARNING] val globalOverride = globalPolicyMode.overridable match { 15:27:36 [WARNING] ^ 15:27:36 [WARNING] /home/jenkins/workspace/mvn-rudder-6.2/webapp/sources/rudder/rudder-web/src/main/scala/com/normation/rudder/web/services/SrvGrid.scala:135: warning: local val refresh in method initJs is never used 15:27:36 [WARNING] val refresh = refreshNodes.map(refreshData(_,callback,tableId).toJsCmd).getOrElse("undefined") 15:27:36 [WARNING] ^ 15:28:23 [WARNING] 2 warnings
Actions