diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-01-03 15:27:01 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-01-03 15:27:01 +0100 |
| commit | 43a7c900bf0465bbdcaa49e0448823050477f8a3 (patch) | |
| tree | 4500baed606fcf91f2c9752f5eae8ba4be78b1aa /main/src/cgeo/geocaching/maps | |
| parent | db0a4fb12caf8744bbb5f7f6fbf9763368af8335 (diff) | |
| download | cgeo-43a7c900bf0465bbdcaa49e0448823050477f8a3.zip cgeo-43a7c900bf0465bbdcaa49e0448823050477f8a3.tar.gz cgeo-43a7c900bf0465bbdcaa49e0448823050477f8a3.tar.bz2 | |
findbugs: dead storage
Diffstat (limited to 'main/src/cgeo/geocaching/maps')
| -rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index b2cb1c7..c98ba72 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -1173,7 +1173,6 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto public void run() { try { showProgressHandler.sendEmptyMessage(SHOW_PROGRESS); // show progress - SearchResult searchResult = new SearchResult(); if (Settings.isGCConnectorActive()) { if (tokens == null) { tokens = GCLogin.getInstance().getMapTokens(); @@ -1183,7 +1182,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto } } } - searchResult = ConnectorFactory.searchByViewport(viewport.resize(0.8), tokens); + final SearchResult searchResult = ConnectorFactory.searchByViewport(viewport.resize(0.8), tokens); downloaded = true; Set<Geocache> result = searchResult.getCachesFromSearchResult(LoadFlags.LOAD_CACHE_OR_DB); |
