git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@533
ffa7fe5e-494d-0410-b361-
a75ebd5db220
if (attr->type >= attr_type_int_begin && attr->type <= attr_type_int_end) {
return &attr->u.num;
}
+ return NULL;
}
void
static void
navigation_call_callbacks(struct navigation *this_, int force_speech)
{
- int distance, level;
+ int distance, level = 0;
void *p=this_;
callback_list_call(this_->callback, 1, &p);
distance=round_distance(this_->first->dest_length-this_->cmd_first->itm->dest_length);