fix error code 14/68614/1 accepted/tizen/common/20160509.134921 accepted/tizen/ivi/20160509.062507 accepted/tizen/mobile/20160509.062417 accepted/tizen/tv/20160509.062432 accepted/tizen/wearable/20160509.062449 submit/tizen/20160509.041343
authorjongmun.woo <jongmun.woo@samsung.com>
Mon, 9 May 2016 01:45:59 +0000 (10:45 +0900)
committerjongmun.woo <jongmun.woo@samsung.com>
Mon, 9 May 2016 01:46:17 +0000 (10:46 +0900)
Signed-off-by: jongmun.woo <jongmun.woo@samsung.com>
Change-Id: I72e962beaec218d4ba4bd6ee7173efc7db376a7e

src/here_plugin.cpp

index 210c50e..c6a83e6 100644 (file)
@@ -119,11 +119,12 @@ EXPORT_API int maps_plugin_is_service_supported(maps_service_e service, bool *su
                case MAPS_SERVICE_SEARCH_PLACE_LIST:
                case MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS:
                        *supported = TRUE;
-                       return MAPS_ERROR_NONE;
+                       break;
                default:
                        *supported = FALSE;
-                       return MAPS_ERROR_NOT_SUPPORTED;
+                       break;
        }
+       return MAPS_ERROR_NONE;
 }
 
 EXPORT_API int maps_plugin_is_data_supported(maps_service_data_e service, bool *supported)
@@ -147,11 +148,12 @@ EXPORT_API int maps_plugin_is_data_supported(maps_service_data_e service, bool *
                case MAPS_ROUTE_SEGMENTS_PATH:
                case MAPS_ROUTE_SEGMENTS_MANEUVERS:
                        *supported = TRUE;
-                       return MAPS_ERROR_NONE;
+                       break;
                default:
                        *supported = FALSE;
-                       return MAPS_ERROR_NOT_SUPPORTED;
+                       break;
        }
+       return MAPS_ERROR_NONE;
 }
 
 EXPORT_API int maps_plugin_geocode(const char* address, const maps_preference_h preference,