From c63f14eefcf7aff08c28bb709a9fccff37f3c6bf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 18:57:24 -0800 Subject: Remove unused function Signed-off-by: Dirk Hohndel --- subsurface-core/subsurfacestartup.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'subsurface-core/subsurfacestartup.c') diff --git a/subsurface-core/subsurfacestartup.c b/subsurface-core/subsurfacestartup.c index 864134724..71b2efb5e 100644 --- a/subsurface-core/subsurfacestartup.c +++ b/subsurface-core/subsurfacestartup.c @@ -233,18 +233,6 @@ void parse_argument(const char *arg) } while (*++p); } -void renumber_dives(int start_nr, bool selected_only) -{ - int i, nr = start_nr; - struct dive *dive; - - for_each_dive (i, dive) { - if (dive->selected) - dive->number = nr++; - } - mark_divelist_changed(true); -} - /* * Under a POSIX setup, the locale string should have a format * like [language[_territory][.codeset][@modifier]]. -- cgit v1.2.3-70-g09d2