]> git.ipfire.org Git - thirdparty/systemd.git/commit
report: drop redundant .generate = NULL metric initializers 42842/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 2 Jul 2026 15:56:20 +0000 (16:56 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 2 Jul 2026 16:01:02 +0000 (17:01 +0100)
commitcb615e64ed7c2010b63382c22da97eae33805a68
tree0cdea92e8028211fb3067c65f6a330be08aa9afd
parentc32bd8b0dc9796291842fea3491f03544497d817
report: drop redundant .generate = NULL metric initializers

The .generate field of MetricFamily defaults to NULL when omitted from a
designated initializer, so spelling it out explicitly on the metric-family
entries (and the field-generating macros) that have no generator of their
own is just noise. Drop it.
src/report/report-basic.c
src/report/report-cgroup.c