diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-12-01 20:21:04 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-12-01 20:21:04 +0000 |
| commit | c206366fd7774aff222578c2680b931a4c2c35ba (patch) | |
| tree | 754a1c9a558a9c1e4e1774aec8ac5268ba3d2afe /libcxx/include/mutex | |
| parent | ab0ad4ed1eea577056d76a4b76734dae881955d3 (diff) | |
| download | bcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.tar.gz bcm5719-llvm-c206366fd7774aff222578c2680b931a4c2c35ba.zip | |
Quash a whole bunch of warnings
llvm-svn: 145624
Diffstat (limited to 'libcxx/include/mutex')
| -rw-r--r-- | libcxx/include/mutex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/mutex b/libcxx/include/mutex index 8bc6b800141..62b733f4122 100644 --- a/libcxx/include/mutex +++ b/libcxx/include/mutex @@ -534,7 +534,7 @@ inline _LIBCPP_INLINE_VISIBILITY void call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args) { - if (__builtin_expect(__flag.__state_ , ~0ul) != ~0ul) + if (__flag.__state_ != ~0ul) { typedef tuple<typename decay<_Callable>::type, typename decay<_Args>::type...> _Gp; __call_once_param<_Gp> __p(_Gp(__decay_copy(_VSTD::forward<_Callable>(__func)), |

