Index: openmp/trunk/runtime/src/kmp_settings.cpp =================================================================== --- openmp/trunk/runtime/src/kmp_settings.cpp +++ openmp/trunk/runtime/src/kmp_settings.cpp @@ -4353,7 +4353,7 @@ // Split by delimiter pos = input; components[level++] = pos; - while (pos = strchr(pos, ',')) { + while ((pos = strchr(pos, ','))) { *pos = '\0'; // modify input and avoid more copying components[level++] = ++pos; // expect something after "," if (level > MAX_T_LEVEL)