From d031fbf2ea034c484dbb08e49310ae85adfeadef Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 28 Nov 2017 21:38:13 +0200 Subject: [PATCH] Remove commented out code Signed-off-by: Miika Turkia --- core/parse.c | 13 ------------- 1 file changed, 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 };