VikWaypoint *current_wp = vik_trw_layer_get_waypoint ( options->vtl, name );
if ( current_wp ) {
// Existing wp found, so set new position, comment and image
- current_wp = a_geotag_waypoint_positioned ( options->image, wp->coord, wp->altitude, &name, current_wp );
+ (void)a_geotag_waypoint_positioned ( options->image, wp->coord, wp->altitude, &name, current_wp );
updated_waypoint = TRUE;
}
}
VikWaypoint *wp = vik_trw_layer_get_waypoint ( options->vtl, name );
if ( wp ) {
// Found, so set new position, comment and image
- wp = a_geotag_waypoint_positioned ( options->image, options->coord, options->altitude, &name, wp );
+ (void)a_geotag_waypoint_positioned ( options->image, options->coord, options->altitude, &name, wp );
updated_waypoint = TRUE;
}
g_free ( name );
if ( IS_VIK_LAYER(options->vtl) ) {
trw_layer_calculate_bounds_waypoints ( options->vtl );
// Ensure any new images get shown
- trw_layer_verify_thumbnails ( options->vtl, NULL ); // NB second parameter not used ATM
+ trw_layer_verify_thumbnails ( options->vtl );
// Force redraw as verify only redraws if there are new thumbnails (they may already exist)
vik_layer_emit_update ( VIK_LAYER(options->vtl) ); // NB Update from background
}