summaryrefslogtreecommitdiffstats
path: root/core/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parse.c')
-rw-r--r--core/parse.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/parse.c b/core/parse.c
index a444dc441..054db156f 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -71,16 +71,6 @@ int trimspace(char *buffer)
}
/*
- * Clear a dive_table
- */
-void clear_table(struct dive_table *table)
-{
- for (int i = 0; i < table->nr; i++)
- free(table->dives[i]);
- table->nr = 0;
-}
-
-/*
* Add a dive into the dive_table array
*/
void record_dive_to_table(struct dive *dive, struct dive_table *table)