Hello!
This fixes following clang warning: ``` stash.c:92:6: warning: passing 'typeof (*(&type)) *' (aka 'volatile unsigned long *') to parameter of type 'gsize *' (aka 'unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (g_once_init_enter(&type)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter' (!g_atomic_pointer_get (location) && \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gatomic.h:117:38: note: expanded from macro 'g_atomic_pointer_get' __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^~~~~~~~~~~~~~~~~ 1 warning generated. ``` Thanks! You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2907
-- Commit Summary --
* <a href="https://github.com/geany/geany/pull/2907/commits/4b6c377b62f05a1068446f998077576d99d99e6d">Don't use volatile</a>
-- File Changes --
M src/stash.c (2)
-- Patch Links --
https://github.com/geany/geany/pull/2907.patch https://github.com/geany/geany/pull/2907.diff