Fixed the build error for gcc-14 49/312249/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20240606.161616 accepted/tizen/unified/20240611.123109 accepted/tizen/unified/dev/20240620.005433 accepted/tizen/unified/toolchain/20240610.172646 accepted/tizen/unified/x/20240610.223232 accepted/tizen/unified/x/asan/20240625.092823
authorwchang kim <wchang.kim@samsung.com>
Wed, 5 Jun 2024 08:51:43 +0000 (17:51 +0900)
committerwchang kim <wchang.kim@samsung.com>
Wed, 5 Jun 2024 08:51:43 +0000 (17:51 +0900)
Change-Id: I55e86e93979e19d235a5aa0de0c0dc273eb7732e

location/manager/location-accuracy.c
location/manager/location-boundary.c
location/manager/location-position.c
location/manager/location-satellite.c
location/manager/location-velocity.c

index 3dec8df..5eb2d15 100644 (file)
@@ -26,7 +26,7 @@
 GType
 location_accuracy_get_type(void)
 {
-       static volatile gsize type_volatile = 0;
+       static gsize type_volatile = 0;
        if (g_once_init_enter(&type_volatile)) {
                GType type = g_boxed_type_register_static(g_intern_static_string("LocationAccuracy"),
                                        (GBoxedCopyFunc) location_accuracy_copy, (GBoxedFreeFunc) location_accuracy_free);
index 1b1f0a6..04beca4 100644 (file)
@@ -85,7 +85,7 @@ static double wrap(double n, double min, double max)
 GType
 location_boundary_get_type(void)
 {
-       static volatile gsize type_volatile = 0;
+       static gsize type_volatile = 0;
        if (g_once_init_enter(&type_volatile)) {
                GType type = g_boxed_type_register_static(
                                                g_intern_static_string("LocationBoundary"),
index 0676704..d023a5b 100644 (file)
@@ -33,7 +33,7 @@
 GType
 location_position_get_type(void)
 {
-       static volatile gsize type_volatile = 0;
+       static gsize type_volatile = 0;
        if (g_once_init_enter(&type_volatile)) {
                GType type = g_boxed_type_register_static(
                                                g_intern_static_string("LocationPosition"),
index 637d295..d41a4e3 100644 (file)
@@ -26,7 +26,7 @@
 GType
 location_satellite_get_type(void)
 {
-       static volatile gsize type_volatile = 0;
+       static gsize type_volatile = 0;
        if (g_once_init_enter(&type_volatile)) {
                GType type = g_boxed_type_register_static(g_intern_static_string("LocationSatellite"),
                                                (GBoxedCopyFunc) location_satellite_copy, (GBoxedFreeFunc) location_satellite_free);
index 64534ef..760442f 100644 (file)
@@ -26,7 +26,7 @@
 GType
 location_velocity_get_type(void)
 {
-       static volatile gsize type_volatile = 0;
+       static gsize type_volatile = 0;
        if (g_once_init_enter(&type_volatile)) {
                GType type = g_boxed_type_register_static(g_intern_static_string("LocationVelocity"),
                                                (GBoxedCopyFunc) location_velocity_copy, (GBoxedFreeFunc) location_velocity_free);