diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-06-08 20:01:14 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-06-08 20:01:14 +0000 |
commit | 7c4d66d2178f7825fc9424e00ea7d774d437e1da (patch) | |
tree | 09306705ef02fad8e497f78548b765ec4ddfa0fa /openmp/runtime/src/z_Linux_util.c | |
parent | 4af289d0f23fa65e77be51982c4bb0b9a5645512 (diff) | |
download | bcm5719-llvm-7c4d66d2178f7825fc9424e00ea7d774d437e1da.tar.gz bcm5719-llvm-7c4d66d2178f7825fc9424e00ea7d774d437e1da.zip |
Remove unused variable warnings by deletion.
As an ongoing effort to sanitize the openmp code, these changes delete
variables that aren't used at all.
http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-June/000701.html
Patch by Jack Howarth
llvm-svn: 239334
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.c')
-rw-r--r-- | openmp/runtime/src/z_Linux_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openmp/runtime/src/z_Linux_util.c b/openmp/runtime/src/z_Linux_util.c index 03efec35c65..b3eaf2c59a5 100644 --- a/openmp/runtime/src/z_Linux_util.c +++ b/openmp/runtime/src/z_Linux_util.c @@ -687,7 +687,6 @@ __kmp_launch_worker( void *thr ) void *padding = 0; #endif int gtid; - int error; gtid = ((kmp_info_t*)thr) -> th.th_info.ds.ds_gtid; __kmp_gtid_set_specific( gtid ); @@ -766,7 +765,6 @@ __kmp_launch_monitor( void *thr ) struct timespec interval; int yield_count; int yield_cycles = 0; - int error; KMP_MB(); /* Flush all pending memory write invalidates. */ @@ -1278,7 +1276,7 @@ void __kmp_resume_monitor(); void __kmp_reap_monitor( kmp_info_t *th ) { - int status, i; + int status; void *exit_val; KA_TRACE( 10, ("__kmp_reap_monitor: try to reap monitor thread with handle %#.8lx\n", |