Skip to content

gthread: Fix optional/nullable annotations for g_once_init_*()

Philip Withnall requested to merge pwithnall/glib:once-init-annotations into main

The pointer argument must not be NULL (though it can point to a location which is zero/null-valued), so this should be (not optional) not (not nullable).

Spotted in !3577 (merged).

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports