Fix build error for gcc upgrade 36/312336/3 accepted/tizen/unified/20240607.170559 accepted/tizen/unified/20240611.122842 accepted/tizen/unified/dev/20240620.004436 accepted/tizen/unified/toolchain/20240610.172409 accepted/tizen/unified/x/20240610.223011 accepted/tizen/unified/x/asan/20240625.092214
authorYoungwoo Cho <young222.cho@samsung.com>
Fri, 7 Jun 2024 01:57:23 +0000 (10:57 +0900)
committerYoungwoo Cho <young222.cho@samsung.com>
Fri, 7 Jun 2024 03:01:38 +0000 (12:01 +0900)
commit0672ece804b76b6e959114ea2af985186ed1eb8d
tree108fb4fd4658295b5be549bd871628b99562abad
parentc37c5be4df388cfe6697f0916283cbc9366fa2d6
Fix build error for gcc upgrade

- Werror=discarded-qualifiers
- `volatile` is a historical artifact and the pointer passed to g_once_init_enter/leave should not be `volatile` (ref. glib doc - once init_enter)

Change-Id: Ie5cb58e19d79e4f82b3c6e143aaeb8904f6b9b2f
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
include/scmirroring_private.h
packaging/capi-media-screen-mirroring.spec