diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-12-24 01:07:54 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-12-24 01:07:54 +0000 |
| commit | 6a74f448735b3dfea38bd2eec2a5cecb6ccdf652 (patch) | |
| tree | da5995307dd37e3cf82ced5157f90b1221d4540b /libcxx/test/std/re | |
| parent | 9eb96d5b080f2cc0b89656a8cef3759eacbe7e21 (diff) | |
| download | bcm5719-llvm-6a74f448735b3dfea38bd2eec2a5cecb6ccdf652.tar.gz bcm5719-llvm-6a74f448735b3dfea38bd2eec2a5cecb6ccdf652.zip | |
fix warnings only produced by apple-clang
llvm-svn: 290474
Diffstat (limited to 'libcxx/test/std/re')
| -rw-r--r-- | libcxx/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp | 2 | ||||
| -rw-r--r-- | libcxx/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp b/libcxx/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp index be05afd4cf8..1634c5a39f3 100644 --- a/libcxx/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp +++ b/libcxx/test/std/re/re.submatch/re.submatch.members/compare_string_type.pass.cpp @@ -24,7 +24,6 @@ int main() typedef std::sub_match<const CharT*> SM; typedef SM::string_type string; SM sm = SM(); - SM sm2 = SM(); assert(sm.compare(string()) == 0); const CharT s[] = {'1', '2', '3', 0}; sm.first = s; @@ -38,7 +37,6 @@ int main() typedef std::sub_match<const CharT*> SM; typedef SM::string_type string; SM sm = SM(); - SM sm2 = SM(); assert(sm.compare(string()) == 0); const CharT s[] = {'1', '2', '3', 0}; sm.first = s; diff --git a/libcxx/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp b/libcxx/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp index 097a3918ed1..5e2ea8fb532 100644 --- a/libcxx/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp +++ b/libcxx/test/std/re/re.submatch/re.submatch.members/compare_value_type_ptr.pass.cpp @@ -23,7 +23,6 @@ int main() typedef char CharT; typedef std::sub_match<const CharT*> SM; SM sm = SM(); - SM sm2 = SM(); assert(sm.compare("") == 0); const CharT s[] = {'1', '2', '3', 0}; sm.first = s; @@ -36,7 +35,6 @@ int main() typedef wchar_t CharT; typedef std::sub_match<const CharT*> SM; SM sm = SM(); - SM sm2 = SM(); assert(sm.compare(L"") == 0); const CharT s[] = {'1', '2', '3', 0}; sm.first = s; |

