Skip to content

Commit 0cd1cf9

Browse files
authored
build: enable failOnWarning (#433)
1 parent 1b24704 commit 0cd1cf9

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<configuration>
7070
<release>21</release>
7171
<compilerId>groovy-eclipse-compiler</compilerId>
72+
<failOnWarning>true</failOnWarning>
7273
</configuration>
7374
<dependencies>
7475
<!-- https://groovy.jfrog.io/ui/native/plugins-release/org/codehaus/groovy/groovy-eclipse-compiler/ -->

src/main/java/org/jlab/clas/timeline/histograms/ALERT.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,11 @@ public ALERT(int reqrunNum, String reqOutputDir, float reqEb, boolean reqTimeBas
8080
AHDC_TIME = new H1F[576];
8181

8282
for (int index = 0; index<576; index++) {
83-
int layer = 0;
8483
int layer_number = 0;
8584
int wire_number = 0;
8685

8786
for (int j=0; j<8; j++){
8887
if (index < layer_wires_cumulative[j+1]){
89-
layer = layer_encoding[j];
9088
layer_number = j + 1;
9189
wire_number = index + 1 - layer_wires_cumulative[j];
9290
break;

0 commit comments

Comments
 (0)