[Openmp-commits] [PATCH] D32490: [OpenMP] Add missing parenthesis which triggers a compile error
George Rokos via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 25 09:08:38 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL301318: [OpenMP] Add missing parenthesis which triggers a compile error (authored by grokos).
Changed prior to commit:
https://reviews.llvm.org/D32490?vs=96569&id=96578#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32490
Files:
openmp/trunk/runtime/src/kmp_settings.cpp
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32490.96578.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170425/7a677b4a/attachment-0001.bin>
More information about the Openmp-commits
mailing list