diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-06-08 19:25:25 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-06-08 19:25:25 +0000 |
commit | 2321d57f8b0d42f6ac5c4173478db1abaa20bb46 (patch) | |
tree | 52335e136b904a118463420596ac6a4888960b26 /openmp/runtime/src/z_Linux_util.c | |
parent | 23153330720a23471007c16e3d5f9e0a944aaf97 (diff) | |
download | bcm5719-llvm-2321d57f8b0d42f6ac5c4173478db1abaa20bb46.tar.gz bcm5719-llvm-2321d57f8b0d42f6ac5c4173478db1abaa20bb46.zip |
Remove unused variable warnings by adding proper macro guards.
As an ongoing effort to sanitize the openmp code, these changes remove unused variables
by adding proper macros around both variables and functions.
Patch by Jack Howarth
llvm-svn: 239330
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.c')
-rw-r--r-- | openmp/runtime/src/z_Linux_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/src/z_Linux_util.c b/openmp/runtime/src/z_Linux_util.c index 4db74fbb441..03efec35c65 100644 --- a/openmp/runtime/src/z_Linux_util.c +++ b/openmp/runtime/src/z_Linux_util.c @@ -683,7 +683,9 @@ __kmp_launch_worker( void *thr ) sigset_t new_set, old_set; #endif /* KMP_BLOCK_SIGNALS */ void *exit_val; +#if KMP_OS_LINUX || KMP_OS_FREEBSD void *padding = 0; +#endif int gtid; int error; |