Skip to content

Commit

Permalink
removed unreachable line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonny Dimond committed Sep 16, 2014
1 parent d7ac047 commit 1de80ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/geoFireUtils.js
Expand Up @@ -378,9 +378,6 @@ var geohashQuery = function(geohash, bits) {
var base = geohash.substring(0, geohash.length - 1);
var lastValue = g_BASE32.indexOf(geohash.charAt(geohash.length - 1));
var significantBits = bits - (base.length*g_BITS_PER_CHAR);
if (significantBits === 0) {
return [base, base+"~"];
}
var unusedBits = (g_BITS_PER_CHAR - significantBits);
/*jshint bitwise: false*/
// delete unused bits
Expand Down

0 comments on commit 1de80ba

Please sign in to comment.