elm_map_route_distance_get: reset success flag to false. 68/229268/1
authorAmitesh Singh <amitesh.sh@samsung.com>
Tue, 24 Mar 2020 10:58:20 +0000 (16:28 +0530)
committerChun <jykeon@samsung.com>
Tue, 31 Mar 2020 01:11:59 +0000 (01:11 +0000)
It is necessary because it comes under goto label.

Change-Id: Ia252f87cc335632adc930404e959a64cb6188402
(cherry picked from commit 02fc68cc715beaf12c8afedcb86bf648e418a8c2)

TC/elementary/map/utc_elm_map_route_distance_get.c

index 5caa15d4090d1aec8cd31990d227d191e1f60d9d..50521627e1dba1caaf3c37bc0a6588d976c3e789 100644 (file)
@@ -79,6 +79,7 @@ START_TEST(utc_elm_map_route_distance_get_p)
 {
    double distance = 0.0;
    const char **sources = NULL;
+   success = EINA_FALSE;
 
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
    if (main_win == NULL)