Skip to content

gthread: Fix "zero as null pointer" warning

Jason Crain requested to merge jcrain/glib:zero-null into master

When compiling a program using glib with -Wzero-as-null-pointer-constant warnings enabled, the compiler warns about this type check in the g_once_init_enter macro. Fix by replacing "0" with "NULL".

Merge request reports