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-28 11:27:15 +00:00
2024-02-28 11:27:15 +00:00
2024-02-26 18:10:56 +00:00
2024-02-12 17:54:36 +00:00
2024-02-14 11:54:48 +00:00
2024-01-16 18:40:42 +01:00
2024-01-16 17:30:37 +01:00
2024-02-05 15:13:46 +00:00
2024-02-05 15:13:46 +00:00
2024-02-14 11:52:02 +00:00
2024-02-14 11:51:08 +00:00
2024-02-08 12:56:02 +00:00
2024-02-08 12:56:02 +00:00
2024-01-18 13:15:22 +00:00
2023-12-18 14:14:15 +00:00
2024-01-18 13:15:22 +00:00
2024-01-16 18:40:42 +01:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-02-12 13:17:04 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-01-16 18:40:42 +01:00
2024-02-08 10:34:40 +00:00
2024-02-05 18:40:03 +00:00
2023-12-18 14:14:15 +00:00
2024-01-18 13:15:22 +00:00
2024-02-12 13:16:07 +00:00
2024-02-12 13:16:07 +00:00
2024-02-14 11:54:48 +00:00
2024-02-14 11:52:33 +00:00
2024-02-14 11:52:33 +00:00
2024-02-14 11:54:48 +00:00
2024-04-12 18:45:18 +01:00
2024-02-14 11:54:48 +00:00
2024-01-16 18:56:57 +01:00
2024-01-26 10:15:49 +00:00
2024-01-26 09:29:30 +00:00
2024-04-12 18:45:59 +01:00
2024-01-26 09:29:30 +00:00
2024-02-14 10:36:34 +00:00
2024-03-18 10:48:31 +00:00
2024-02-14 11:13:04 +00:00
2024-02-14 11:13:04 +00:00
2023-12-18 14:14:16 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 12:56:02 +00:00
2024-02-08 12:56:02 +00:00
2024-04-01 11:01:06 +00:00
2024-02-14 11:52:33 +00:00
2024-02-07 21:07:18 +00:00
2024-02-12 13:17:04 +00:00
2024-02-08 10:34:40 +00:00
2024-02-06 13:34:17 +00:00
2023-12-18 14:14:16 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-04-01 11:01:06 +00:00
2024-02-21 12:38:40 +01:00