glib/girepository
Philip Withnall 3c6c60611f
girnode: Simplify NULL node handling
All of the indications in the surrounding code are that `node` should
never be `NULL`, but the error handling for it did actually allow it to
be `NULL` iff its `parent` was also `NULL`.

That made scan-build (kind of legitimately) warn about `NULL` pointer
dereferences of `node`.

Avoid that by unambiguously using an assertion to prevent `NULL` nodes.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #1767
2024-04-12 18:45:59 +01:00
..
2024-04-12 15:26:22 +01:00
2024-02-12 13:17:04 +00:00
2024-04-12 18:45:59 +01:00
2024-02-07 21:07:18 +00:00
2024-02-12 13:17:04 +00:00
2024-04-01 11:01:06 +00:00