diff options
author | Adam Jackson <ajax@redhat.com> | 2014-03-27 11:48:39 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-03-29 00:01:11 -0700 |
commit | 8468e24430988058b150dc1daef3aad6ba9fa698 (patch) | |
tree | cb4edc0db4083e0daf83ef29f9fa2db5e6307dbc | |
parent | a2880699e8f1f576e1a48ebf25e8982463323f84 (diff) |
mi: Hush extension initialization (#75870)
Printing these as ErrorF is fairly obnoxious, since it means the
non-hardware servers now spew stuff to the console for entirely routine
events. And actually, printing these at all is fairly obnoxious, since
a) we're printing a line for every extension, whether it's enabled or
not, and b) we're not actually initializing the extension at this point.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | mi/miinitext.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index 5b45ab4c2..1d905167e 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -365,7 +365,6 @@ void LoadExtensionList(const ExtensionModule ext[], int size, Bool builtin) { ExtensionModule *newext; - const char *msg; int i; /* Make sure built-in extensions get added to the list before those @@ -375,14 +374,7 @@ LoadExtensionList(const ExtensionModule ext[], int size, Bool builtin) if (!(newext = NewExtensionModuleList(size))) return; - if (builtin) - msg = "Initializing built-in"; - else - msg = "Loading"; - for (i = 0; i < size; i++, newext++) { - ErrorF("%s extension %s\n", msg, ext[i].name); - newext->name = ext[i].name; newext->initFunc = ext[i].initFunc; newext->disablePtr = ext[i].disablePtr; |