Remove two unused functions from qbytearray.cpp
The q_toPercentEncoding() overload without percent parameter and the q_normalizePercentEncoding() function are nowhere used. Although they were extern symbols, they were not declared in a header. Thei names mark them as Qt-internal. So removal should be safe. Change-Id: If6cece20796a80d98a9af4e764443f3ab8c555c9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4b49c2006f
commit
9ff44989ec
@ -4618,17 +4618,6 @@ static void q_toPercentEncoding(QByteArray *ba, const char *dontEncode, const ch
|
||||
ba->truncate(length);
|
||||
}
|
||||
|
||||
void q_toPercentEncoding(QByteArray *ba, const char *exclude, const char *include)
|
||||
{
|
||||
q_toPercentEncoding(ba, exclude, include, '%');
|
||||
}
|
||||
|
||||
void q_normalizePercentEncoding(QByteArray *ba, const char *exclude)
|
||||
{
|
||||
q_fromPercentEncoding(ba, '%');
|
||||
q_toPercentEncoding(ba, exclude, nullptr, '%');
|
||||
}
|
||||
|
||||
/*!
|
||||
\since 4.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user