PVS V603: useless creation of objects
Change-Id: Ia40d26a9a5c1f4b3383b05f94eb8220fbb36583d Reviewed-on: https://review.haiku-os.org/c/1615 Reviewed-by: Stephan Aßmus <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
0c5f4fb751
commit
994c85678d
@@ -24,7 +24,6 @@ BUnicodeChar::BUnicodeChar()
|
|||||||
int8
|
int8
|
||||||
BUnicodeChar::Type(uint32 c)
|
BUnicodeChar::Type(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_charType(c);
|
return u_charType(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,7 +33,6 @@ BUnicodeChar::Type(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsAlpha(uint32 c)
|
BUnicodeChar::IsAlpha(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isalpha(c);
|
return u_isalpha(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +44,6 @@ BUnicodeChar::IsAlpha(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsAlNum(uint32 c)
|
BUnicodeChar::IsAlNum(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isalnum(c);
|
return u_isalnum(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,7 +52,6 @@ BUnicodeChar::IsAlNum(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsLower(uint32 c)
|
BUnicodeChar::IsLower(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isULowercase(c);
|
return u_isULowercase(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,7 +60,6 @@ BUnicodeChar::IsLower(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsUpper(uint32 c)
|
BUnicodeChar::IsUpper(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isUUppercase(c);
|
return u_isUUppercase(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +69,6 @@ BUnicodeChar::IsUpper(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsTitle(uint32 c)
|
BUnicodeChar::IsTitle(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_istitle(c);
|
return u_istitle(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,7 +80,6 @@ BUnicodeChar::IsTitle(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsDigit(uint32 c)
|
BUnicodeChar::IsDigit(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isdigit(c);
|
return u_isdigit(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,7 +93,6 @@ BUnicodeChar::IsDigit(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsHexDigit(uint32 c)
|
BUnicodeChar::IsHexDigit(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isxdigit(c);
|
return u_isxdigit(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +104,6 @@ BUnicodeChar::IsHexDigit(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsDefined(uint32 c)
|
BUnicodeChar::IsDefined(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isdefined(c);
|
return u_isdefined(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,7 +114,6 @@ BUnicodeChar::IsDefined(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsBase(uint32 c)
|
BUnicodeChar::IsBase(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isbase(c);
|
return u_isbase(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,7 +129,6 @@ BUnicodeChar::IsBase(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsControl(uint32 c)
|
BUnicodeChar::IsControl(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_iscntrl(c);
|
return u_iscntrl(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -149,7 +138,6 @@ BUnicodeChar::IsControl(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsPunctuation(uint32 c)
|
BUnicodeChar::IsPunctuation(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_ispunct(c);
|
return u_ispunct(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -160,7 +148,6 @@ BUnicodeChar::IsPunctuation(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsSpace(uint32 c)
|
BUnicodeChar::IsSpace(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isJavaSpaceChar(c);
|
return u_isJavaSpaceChar(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,7 +170,6 @@ BUnicodeChar::IsSpace(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsWhitespace(uint32 c)
|
BUnicodeChar::IsWhitespace(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isWhitespace(c);
|
return u_isWhitespace(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -193,7 +179,6 @@ BUnicodeChar::IsWhitespace(uint32 c)
|
|||||||
bool
|
bool
|
||||||
BUnicodeChar::IsPrintable(uint32 c)
|
BUnicodeChar::IsPrintable(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_isprint(c);
|
return u_isprint(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,7 +188,6 @@ BUnicodeChar::IsPrintable(uint32 c)
|
|||||||
uint32
|
uint32
|
||||||
BUnicodeChar::ToLower(uint32 c)
|
BUnicodeChar::ToLower(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_tolower(c);
|
return u_tolower(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,7 +195,6 @@ BUnicodeChar::ToLower(uint32 c)
|
|||||||
uint32
|
uint32
|
||||||
BUnicodeChar::ToUpper(uint32 c)
|
BUnicodeChar::ToUpper(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_toupper(c);
|
return u_toupper(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,7 +202,6 @@ BUnicodeChar::ToUpper(uint32 c)
|
|||||||
uint32
|
uint32
|
||||||
BUnicodeChar::ToTitle(uint32 c)
|
BUnicodeChar::ToTitle(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_totitle(c);
|
return u_totitle(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -227,7 +209,6 @@ BUnicodeChar::ToTitle(uint32 c)
|
|||||||
int32
|
int32
|
||||||
BUnicodeChar::DigitValue(uint32 c)
|
BUnicodeChar::DigitValue(uint32 c)
|
||||||
{
|
{
|
||||||
BUnicodeChar();
|
|
||||||
return u_digit(c, 10);
|
return u_digit(c, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user