summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Osmialowski <pawel.osmialowski@arm.com>2017-12-22 19:24:06 +0000
committerPaul Osmialowski <pawel.osmialowski@arm.com>2017-12-22 19:24:06 +0000
commit6b8141acdd831c9e7067c700c7624480fbe8b331 (patch)
treeb5f86d231055b0d5a2abd1f32be9a47fe156689d
parent009d59facdd4abd196eb3c35f4300d5837a97fdd (diff)
downloadbcm5719-llvm-6b8141acdd831c9e7067c700c7624480fbe8b331.tar.gz
bcm5719-llvm-6b8141acdd831c9e7067c700c7624480fbe8b331.zip
[OMPT] Add missing initialization in nested_lwt.c test case
Without this initialization this test case tend to fail. Differential Revision: https://reviews.llvm.org/D41542 llvm-svn: 321379
-rw-r--r--openmp/runtime/test/ompt/parallel/nested_lwt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/test/ompt/parallel/nested_lwt.c b/openmp/runtime/test/ompt/parallel/nested_lwt.c
index 41ed30df2ae..83483767bda 100644
--- a/openmp/runtime/test/ompt/parallel/nested_lwt.c
+++ b/openmp/runtime/test/ompt/parallel/nested_lwt.c
@@ -9,7 +9,7 @@
int main()
{
omp_set_nested(1);
- int condition;
+ int condition = 0;
#pragma omp parallel num_threads(4)
{
OpenPOWER on IntegriCloud