]> git.ipfire.org Git - thirdparty/collectd.git/commit
Remove duplicate switch case. 3536/head
authorSebastian Schmidt <yath@google.com>
Fri, 21 Aug 2020 09:02:18 +0000 (11:02 +0200)
committerSebastian Schmidt <yath@google.com>
Fri, 21 Aug 2020 09:02:18 +0000 (11:02 +0200)
commit73c3543227ff8e2a771fc673078a814abdc37dd0
tree8f19570c6af577a5f478ea89b7d43c299b39f42a
parentfb8c116ef7b62414ae8f838e46445e42ce5a97ab
Remove duplicate switch case.

The empty 'f' case probably used to be wrapped in its own #if
COLLECT_DAEMON, but that apparently somehow got lost and gcc 9.3
complains about the duplicate case. Therefore, just wrap the
config->daemonize assignment into #if/#endif, like for the other cases.

ChangeLog: collectd: Build fix
src/daemon/collectd.c