powerpc-apple-darwin8-gcc-4.0.0 catch 2 warnings about uninitialized usage. Reading the code I have to agree with it,
even if it's highly improbable that it could happens in real life. But we never know ... This commit was SVN r8393.
Этот коммит содержится в:
родитель
bce1d2e220
Коммит
1fe691c1f5
@ -163,6 +163,7 @@ static int parse_requested(int mca_param, bool *include_mode,
|
||||
char *tmp;
|
||||
|
||||
*requested_component_names = NULL;
|
||||
*include_mode = true;
|
||||
|
||||
/* See if the user requested anything */
|
||||
|
||||
@ -176,7 +177,6 @@ static int parse_requested(int mca_param, bool *include_mode,
|
||||
|
||||
/* Are we including or excluding? */
|
||||
|
||||
*include_mode = true;
|
||||
for (i = 0; NULL != (*requested_component_names)[i]; ++i) {
|
||||
if (negate == *((*requested_component_names)[i])) {
|
||||
tmp = strdup((*requested_component_names)[i] + 1);
|
||||
|
@ -115,7 +115,7 @@ OBJ_CLASS_INSTANCE(mca_base_param_info_t, opal_list_item_t,
|
||||
int mca_base_param_init(void)
|
||||
{
|
||||
int id;
|
||||
char *files, *new_files;
|
||||
char *files, *new_files = NULL;
|
||||
|
||||
if (!initialized) {
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user