Branch: refs/heads/master Author: Avinash Sonawane rootkea@gmail.com Committer: GitHub noreply@github.com Date: Mon, 18 Oct 2021 21:56:24 UTC Commit: 951bbaa518cf033b73382e9f8f61407583c9df75 https://github.com/geany/geany/commit/951bbaa518cf033b73382e9f8f61407583c9df...
Log Message: ----------- Don't use volatile (#2907)
`g_once_init_enter()` parameter shouldn't be volatile anymore. The low-level atomic access API don't use volatile such that a warning is shown on clang.
Modified Paths: -------------- src/stash.c
Modified: src/stash.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -88,7 +88,7 @@ #define TYPE_COMBO_BOX_ENTRY get_combo_box_entry_type() static GType get_combo_box_entry_type(void) { - static volatile gsize type = 0; + static gsize type = 0; if (g_once_init_enter(&type)) { GType g_type = g_type_register_static_simple(GTK_TYPE_COMBO_BOX, "dummy-combo-box-entry",
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).