mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Inspection: Declaration and assignment can be joined
This commit is contained in:
parent
73aff544b3
commit
98175168f3
@ -405,8 +405,7 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(ByteVector("taglib"), v1);
|
||||
CPPUNIT_ASSERT_EQUAL(ByteVector("tAglIb"), v2);
|
||||
|
||||
ByteVector v3;
|
||||
v3 = ByteVector("0123456789").mid(3, 4);
|
||||
ByteVector v3 = ByteVector("0123456789").mid(3, 4);
|
||||
|
||||
it1 = v3.begin();
|
||||
it2 = v3.end() - 1;
|
||||
|
@ -84,8 +84,7 @@ public:
|
||||
String latin = "Jos\xe9 Carlos";
|
||||
CPPUNIT_ASSERT(strcmp(latin.toCString(true), "José Carlos") == 0);
|
||||
|
||||
String c;
|
||||
c = "1";
|
||||
String c = "1";
|
||||
CPPUNIT_ASSERT(c == L"1");
|
||||
|
||||
c = L'\u4E00';
|
||||
|
Loading…
x
Reference in New Issue
Block a user