summaryrefslogtreecommitdiff
path: root/navit/vehicle/null/vehicle_null.c
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-04-29 22:03:44 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-04-30 09:05:18 -0700
commit01eb2df05b8d216206c05401d413d3d5601b333d (patch)
treeded7978516664261e4c4ee6a4ec24043e922e2bd /navit/vehicle/null/vehicle_null.c
parent4231cac78eebbc761a4a356292aa79693384254f (diff)
downloadnavit-01eb2df05b8d216206c05401d413d3d5601b333d.tar.gz
cleanup:global:Cleanup some unreachable code
Diffstat (limited to 'navit/vehicle/null/vehicle_null.c')
-rw-r--r--navit/vehicle/null/vehicle_null.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/navit/vehicle/null/vehicle_null.c b/navit/vehicle/null/vehicle_null.c
index 1005328f6..ea990a31e 100644
--- a/navit/vehicle/null/vehicle_null.c
+++ b/navit/vehicle/null/vehicle_null.c
@@ -85,11 +85,6 @@ vehicle_null_position_attr_get(struct vehicle_priv *priv,
{
dbg(lvl_debug,"enter %s",attr_to_name(type));
switch (type) {
-#if 0
- case attr_position_fix_type:
- attr->u.num = priv->fix_type;
- break;
-#endif
case attr_position_height:
attr->u.numd = &priv->height;
break;
@@ -102,15 +97,6 @@ vehicle_null_position_attr_get(struct vehicle_priv *priv,
case attr_position_radius:
attr->u.numd = &priv->radius;
break;
-
-#if 0
- case attr_position_qual:
- attr->u.num = priv->sats;
- break;
- case attr_position_sats_used:
- attr->u.num = priv->sats_used;
- break;
-#endif
case attr_position_coord_geo:
attr->u.coord_geo = &priv->geo;
if (!priv->have_coords)