summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/globe.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index b070da424..9b50adccf 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -247,9 +247,6 @@ void GlobeGPS::reload()
void GlobeGPS::centerOnDiveSite(uint32_t uuid)
{
- if (uuid == 0)
- return;
-
struct dive_site *ds = get_dive_site_by_uuid(uuid);
if (!dive_site_has_gps_location(ds)) {