]> git.street.me.uk Git - andy/viking.git/blobdiff - src/viktrwlayer_geotag.c
[DOC] Switch from ordered list to a itemitized list.
[andy/viking.git] / src / viktrwlayer_geotag.c
index 09f151662d2ea0759df50ad2832ac2e9235b99cf..d4060b8aa6e42eaed27656221c4082dbff3c6f4b 100644 (file)
@@ -333,7 +333,7 @@ static void trw_layer_geotag_process ( geotag_options_t *options )
                                        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;
                                        }
                                }
@@ -388,7 +388,7 @@ static void trw_layer_geotag_process ( geotag_options_t *options )
                                        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 );
@@ -456,7 +456,7 @@ static int trw_layer_geotag_thread ( geotag_options_t *options, gpointer threadd
                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
                }