1
1

Fix CID 1079: don't use a value until it's been initialized (duh).

This commit was SVN r19173.
Этот коммит содержится в:
Jeff Squyres 2008-08-06 11:44:22 +00:00
родитель 63c33a9c32
Коммит aa35ef53d0

Просмотреть файл

@ -390,13 +390,14 @@ static int open_component(component_file_item_t *target_file,
mca_base_component_list_item_t *mitem;
dependency_item_t *ditem;
size_t len;
int vl = show_errors ? 0 : 40;
int vl;
opal_output_verbose(40, 0, "mca: base: component_find: examining dyanmic %s MCA component \"%s\"",
target_file->type, target_file->name);
opal_output_verbose(40, 0, "mca: base: component_find: %s", target_file->filename);
param = mca_base_param_find("mca", NULL, "component_show_load_errors");
mca_base_param_lookup_int(param, &show_errors);
vl = show_errors ? 0 : 40;
/* Was this component already loaded (e.g., via dependency)? */