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/__bit_reference | |
| 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/__bit_reference')
| -rw-r--r-- | libcxx/include/__bit_reference | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index 2688b5e7431..906b9da462e 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/include/__bit_reference @@ -637,7 +637,7 @@ __copy_backward_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator< { __m = ~__storage_type(0) << (__bits_per_word - __n); __storage_type __b = *--__last.__seg_ & __m; - unsigned __clz_r = __bits_per_word - __result.__ctz_; + __clz_r = __bits_per_word - __result.__ctz_; __storage_type __dn = _VSTD::min(__n, static_cast<difference_type>(__result.__ctz_)); __m = (~__storage_type(0) << (__result.__ctz_ - __dn)) & (~__storage_type(0) >> __clz_r); *__result.__seg_ &= ~__m; @@ -881,7 +881,6 @@ rotate(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __middle, typedef __bit_iterator<_Cp, false> _I1; typedef typename _I1::difference_type difference_type; typedef typename _I1::__storage_type __storage_type; - static const unsigned __bits_per_word = _I1::__bits_per_word; difference_type __d1 = __middle - __first; difference_type __d2 = __last - __middle; _I1 __r = __first + __d2; |

