aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-11-28 21:38:13 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-29 01:22:17 +0100
commitd031fbf2ea034c484dbb08e49310ae85adfeadef (patch)
tree910f80effd821d6f22d35477c54fe971eb55149c /core
parent8f16ae6289c6a22dad56f22fa38425f208f4699f (diff)
downloadsubsurface-d031fbf2ea034c484dbb08e49310ae85adfeadef.tar.gz
Remove commented out code
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/parse.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/parse.c b/core/parse.c
index 5fca1e777..3d71e0df1 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -15,19 +15,6 @@
int metric = 1;
int diveid = -1;
-/*
-static union {
- struct event event;
- char allocation[sizeof(struct event)+MAX_EVENT_NAME];
-} event_allocation = { .event.deleted = 1 };
-
-static event_allocation cur_event = { .event.deleted = 1 };
-static inline union {
- struct event event;
- char allocation[sizeof(struct event)+MAX_EVENT_NAME];
-} event_allocation = { .event.deleted = 1 };
-#define cur_event event_allocation.event
-*/
event_allocation_t event_allocation = { .event.deleted = 1 };