Rename local variable hiding parameter

As found by LGTM.com.

Change-Id: If3024bdaad06cafcd401b4ee04524ad03bd69a97
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Dimitrios Apostolou 2020-07-04 03:46:39 +02:00
parent 1e546595e9
commit b800f74fe0

View File

@ -390,8 +390,8 @@ QByteArray QUtf8::convertFromUnicode(const QChar *uc, qsizetype len)
break;
do {
ushort uc = *src++;
int res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, dst, src, end);
ushort u = *src++;
int res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(u, dst, src, end);
if (res < 0) {
// encoding error - append '?'
*dst++ = '?';