From e570ccd032c7f252d8f8a5b5b15471a544c47d23 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 18 Jun 2010 21:05:05 +0200 Subject: [PATCH] src/graph_def.c: Fix an annoying "error" message. The message was printed for valid fields, too, due to "TypeInstance" being handled elsewhere. --- src/graph_def.c | 3 --- 1 file changed, 3 deletions(-) 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)); -- 2.30.2