Remove unused variables from decodeTypeAndVal.
diff --git a/js/encoding/BinaryXMLDecoder.js b/js/encoding/BinaryXMLDecoder.js
index 461eae7..0c88e0f 100644
--- a/js/encoding/BinaryXMLDecoder.js
+++ b/js/encoding/BinaryXMLDecoder.js
@@ -477,15 +477,10 @@
BinaryXMLDecoder.prototype.decodeTypeAndVal = function() {
- /*int*/next;
- /*int*/type = -1;
- /*long*/val = 0;
- /*boolean*/more = true;
+ /*int*/var type = -1;
+ /*long*/var val = 0;
+ /*boolean*/var more = true;
-
- //var savedOffset = this.offset;
- var count = 0;
-
do {
var next = this.istream[this.offset ];
@@ -567,14 +562,11 @@
//
//byte []
- bytes = this.istream.slice(this.offset, this.offset+ blobLength);
+ var bytes = this.istream.slice(this.offset, this.offset+ blobLength);
this.offset += blobLength;
//int
return bytes;
-
- count = 0;
-
};
var count =0;