From: Martin Vajnar Date: Sun, 24 May 2015 21:38:54 +0000 (+0200) Subject: JORTE: initialize string_pointer variable to make Java compiler happy X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/bf4f5c340ac4f5fc029189f17bbad42813d2d09f?ds=sidebyside JORTE: initialize string_pointer variable to make Java compiler happy --- diff --git a/orte/java/src/org/ocera/orte/types/RecvInfo.java b/orte/java/src/org/ocera/orte/types/RecvInfo.java index 6ddec53..07db207 100644 --- a/orte/java/src/org/ocera/orte/types/RecvInfo.java +++ b/orte/java/src/org/ocera/orte/types/RecvInfo.java @@ -154,7 +154,7 @@ public class RecvInfo } private String getString(int offset) { - long string_pointer; + long string_pointer = -1; switch(helper_buffer.getInt(Integer.SIZE*2/8)) { case 4: