diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-15 20:56:26 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-15 20:56:26 +0100 |
commit | cb11f3cffb95ac60c58bc0037fa4639078618f70 (patch) | |
tree | 939ece81f8342473c20aaabf01e4ed5308c84949 /libgomp/task.c | |
parent | 49abe0767c9b670ea05e674e698bd10f9bcb606f (diff) | |
download | gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.zip gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.tar.gz gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.tar.bz2 |
* task.c (GOMP_PLUGIN_target_task_completion): Add missing return.
From-SVN: r232447
Diffstat (limited to 'libgomp/task.c')
-rw-r--r-- | libgomp/task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/task.c b/libgomp/task.c index de9936e..b18b6e2 100644 --- a/libgomp/task.c +++ b/libgomp/task.c @@ -579,6 +579,7 @@ GOMP_PLUGIN_target_task_completion (void *data) { ttask->state = GOMP_TARGET_TASK_FINISHED; gomp_mutex_unlock (&team->task_lock); + return; } ttask->state = GOMP_TARGET_TASK_FINISHED; gomp_target_task_completion (team, task); |