NULL-init a pointer for g_assert to work correctly