Project

General

Profile

Actions

Bug #18729

closed

Compilation warning (unused variable) in 6.2.0-rc1

Added by François ARMAND almost 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
5 (lowest)
Category:
Architecture - Code maintenance
Target version:
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

Also available in: Atom PDF