]> git.street.me.uk Git - andy/viking.git/commitdiff
[QA] Remove unused function
authorRob Norris <rw_norris@hotmail.com>
Wed, 31 Jul 2013 21:07:22 +0000 (22:07 +0100)
committerRob Norris <rw_norris@hotmail.com>
Wed, 28 Aug 2013 21:20:39 +0000 (22:20 +0100)
src/vikmapslayer.c

index 833112c19e17346ac568d07b36aa5f696bc2f44f..c54e28000f4d536ba0a0d31d783196bdd22b5d02 100644 (file)
@@ -284,18 +284,6 @@ void maps_layer_init ()
 /******** MAPS LAYER TYPES **************/
 /****************************************/
 
-int _get_index_for_id ( guint id )
-{
-  int index = 0 ;
-  while (params_maptypes_ids[index] != 0)
-  {
-    if (params_maptypes_ids[index] == id)
-      return index;
-    index++;
-  }
-  return -1;
-}
-
 void _add_map_source ( guint id, const char *label, VikMapSource *map )
 {
   gsize len = 0;