mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 20:08:29 +01:00
It’s a false positive, but points to a slightly unnecessary use of a global variable to store something which could be computed per-test. scan-build thought that arrays of size `n_handlers` could have uninitialised values accessed in them if `n_handlers` were to change value part-way through a test (which it didn’t). Signed-off-by: Philip Withnall <pwithnall@gnome.org>
7.5 KiB
7.5 KiB