fix warnings only produced by apple-clang
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user