sorry, but I'd like this fixed ;)

Original commit message from CVS:
sorry, but I'd like this fixed ;)
This commit is contained in:
Thomas Vander Stichele 2002-02-06 19:02:24 +00:00
parent fd09a5765a
commit ac5bfadbfe

View file

@ -63,7 +63,7 @@ _gst_plugin_initialize (void)
{
GList *gst_plugin_default_paths = NULL;
#ifndef GST_DISABLE_REGISTRY
xmlDocPtr doc;
xmlDocPtr doc = NULL;
xmlNodePtr root;
#endif
@ -90,6 +90,7 @@ _gst_plugin_initialize (void)
#ifndef GST_DISABLE_REGISTRY
doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");
g_assert (doc != NULL);
if (!doc ||
!doc->xmlRootNode ||