X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffilter_chain.c;h=01688ee2d397b8cb3f1ee14f73bbac560b2d7c46;hb=530356d9f6ffb8784d278d6a6a67d8df5c493cca;hp=9a52f7c99504179cfdf43f6d2266b9a2c2f81be7;hpb=6e419a825c50f9c97471aba7d50521bfc7e19828;p=collectd.git diff --git a/src/filter_chain.c b/src/filter_chain.c index 9a52f7c9..01688ee2 100644 --- a/src/filter_chain.c +++ b/src/filter_chain.c @@ -516,21 +516,6 @@ static int fc_config_add_chain (const oconfig_item_t *ci) /* {{{ */ break; } /* for (ci->children) */ - /* Additional sanity checking. */ - while (status == 0) - { - if (chain->targets == NULL) - { - WARNING ("Filter subsystem: Chain %s: No default target has been " - "specified. Please make sure that there is a block within " - "the block!", chain->name); - status = -1; - break; - } - - break; - } /* while (status == 0) */ - if (status != 0) { fc_free_chains (chain);