Code

disk plugin: Declare alt_name only when libudev is available.
authorFlorian Forster <octo@collectd.org>
Fri, 18 Dec 2015 10:11:15 +0000 (11:11 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 18 Dec 2015 10:11:15 +0000 (11:11 +0100)
commit25888de8d7881514ce4854e39f322ad4240e3d13
tree285d7ca7145de81a69628a45ce80068d9ce0b535
parent0092ac0b35a2fd05fa21c0be5f82aea1a5c3ebe7
disk plugin: Declare alt_name only when libudev is available.

Coverity whines about "output_name = alt_name" being dead code because
it sees alt_name as beeing NULL always.

CID: 48417
src/disk.c