]> git.ipfire.org Git - thirdparty/collectd.git/commit
src/daemon/utils_cache.c: Avoid `default` in the `family->type` switch statement.
authorFlorian Forster <octo@collectd.org>
Thu, 1 Feb 2024 15:19:27 +0000 (16:19 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 1 Feb 2024 15:19:27 +0000 (16:19 +0100)
commitd61b3d02f4a83c5971363bdbff57d17f7440e6b8
tree5836c40efcb535f36e25887893ea5b34fecd15d1
parent1b0d86a4ad16121761a8ff3bee8b6720f98740a0
src/daemon/utils_cache.c: Avoid `default` in the `family->type` switch statement.

This way the compiler can check that we handle all values in the
`metric_type_t` enum.
src/daemon/utils_cache.c