summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-13 10:59:16 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-13 21:41:41 -0400
commit5d3967ce846ed4876abeb43ebe2d919064050ed6 (patch)
tree246ae5a2cc649eff0bd911a072b956a8440167a4 /core/dive.c
parent954820aa81cb52cfe4442f2c6e81117827e32ccc (diff)
downloadsubsurface-5d3967ce846ed4876abeb43ebe2d919064050ed6.tar.gz
Dive site: un-globalize displayed_dive_site
The global object displayed_dive_site is used a a backing-store by the dive-site-edit widget. All external accesses were removed, therefore make the object local to the widget. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index d643dec22..f44bfc3c1 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -18,7 +18,6 @@
* it's used in the UI, but it seems to make the most sense to have it
* here */
struct dive displayed_dive;
-struct dive_site displayed_dive_site;
struct tag_entry *g_tag_list = NULL;