From: Florian Forster Date: Fri, 18 Jun 2010 19:05:05 +0000 (+0200) Subject: src/graph_def.c: Fix an annoying "error" message. X-Git-Tag: v4.0.0~242 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e570ccd032c7f252d8f8a5b5b15471a544c47d23;p=collection4.git src/graph_def.c: Fix an annoying "error" message. The message was printed for valid fields, too, due to "TypeInstance" being handled elsewhere. --- diff --git a/src/graph_def.c b/src/graph_def.c index b8e0ce4..927b3fe 100644 --- a/src/graph_def.c +++ b/src/graph_def.c @@ -219,9 +219,6 @@ int def_config (graph_config_t *cfg, const oconfig_item_t *ci) /* {{{ */ graph_config_get_bool (child, &def->area); else if (strcasecmp ("Format", child->key) == 0) graph_config_get_string (child, &def->format); - else - fprintf (stderr, "def_config: Ignoring unknown config option \"%s\"", - child->key); } return (graph_add_def (cfg, def));