Permalink
Browse files

Some new compiler warnings

  • Loading branch information...
1 parent 26b6c06 commit eb6ca7c2a45910a197370bfd4406021f1b5a0b3c @patmorin committed Feb 2, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 java/ods/BinaryTrie.java
@@ -85,7 +85,7 @@ public String toString() {
}
public boolean add(T x) {
- int i, c, ix = it.intValue(x);
+ int i, c = 0, ix = it.intValue(x);
Node u = r;
// 1 - search for ix until falling out of the trie
for (i = 0; i < w; i++) {
@@ -159,7 +159,7 @@ protected void checkList() {
}
public T find(T x) {
- int i, c, ix = it.intValue(x);
+ int i, c = 0, ix = it.intValue(x);
Node u = r;
for (i = 0; i < w; i++) {
c = (ix >>> w-i-1) & 1;

0 comments on commit eb6ca7c

Please sign in to comment.