Fixes warnings with clang 15+
scope/src/stack.c:168:11: error: incompatible pointer to integer conversion initializing 'gboolean' (aka 'int') with an expression of type 'void *' [-Wint-conversion] gboolean entry = NULL; ^ ~~~~ 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com> You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1191
-- Commit Summary --
* scope: Use 0 instead of NULL for gboolean
-- File Changes --
M scope/src/stack.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1191.patch https://github.com/geany/geany-plugins/pull/1191.diff
this CI build failure looks unrelated to this change
Why not `FALSE` as default? It's technically the same as `0` but more readable.
@kraj pushed 1 commit.
9cff4cf2f9a08a4d590ce180fa0adcf7d45244e5 scope: Use 0 instead of NULL for gboolean
Why not `FALSE` as default? It's technically the same as `0` but more readable.
sure. Done
Merged #1191 into master.
github-comments@lists.geany.org