projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58086cb
)
src/graph_def.c: Fix an annoying "error" message.
author
Florian Forster
<ff@octo.it>
Fri, 18 Jun 2010 19:05:05 +0000
(21:05 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 18 Jun 2010 19:05:05 +0000
(21:05 +0200)
The message was printed for valid fields, too, due to "TypeInstance" being
handled elsewhere.
src/graph_def.c
patch
|
blob
|
history
diff --git
a/src/graph_def.c
b/src/graph_def.c
index
b8e0ce4
..
927b3fe
100644
(file)
--- 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));