From 310887e01948a54b6b6565b712bf5b77410de9db Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Mon, 7 Mar 2016 13:40:32 -0800 Subject: [PATCH] Fix duplicated variable name --- tile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile.cc b/tile.cc index e89b369..0838f42 100644 --- a/tile.cc +++ b/tile.cc @@ -799,7 +799,7 @@ long long write_tile(char **geoms, char *metabase, char *stringpool, int z, unsi } if (gamma > 0) { - unsigned long long index = index = encode(bbox[0] / 2 + bbox[2] / 2, bbox[1] / 2 + bbox[3] / 2); + unsigned long long index = encode(bbox[0] / 2 + bbox[2] / 2, bbox[1] / 2 + bbox[3] / 2); if (manage_gap(index, &previndex, scale, gamma, &gap)) { continue; }