Check for the bozo case
This commit was SVN r5163.
Этот коммит содержится в:
родитель
69f5aa1117
Коммит
11ea2b7e4e
@ -163,6 +163,12 @@ int ompi_unsetenv(const char *name, char ***env)
|
||||
size_t len;
|
||||
bool found;
|
||||
|
||||
/* Check for bozo case */
|
||||
|
||||
if (NULL == *env) {
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
/* Make something easy to compare to */
|
||||
|
||||
asprintf(&compare, "%s=", name);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user