Code

ceph plugin: Guard against g_num_daemons being zero.
authorFlorian Forster <octo@collectd.org>
Tue, 16 Aug 2016 04:57:24 +0000 (06:57 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 16 Aug 2016 04:57:24 +0000 (06:57 +0200)
commitf674a62840d14f4559a5bf828cf18e767ab77512
tree5f831ab413e865f626a42a424597dd12049548bd
parent88ad924df0622911c555cea6826933732e91d9cd
ceph plugin: Guard against g_num_daemons being zero.

clang scan-build flags this, because this variable is used to declare VLAs.
src/ceph.c