kdecore: compiler warning fix

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-05-16 00:59:53 +00:00
parent 48e8597429
commit 39b30dbb18
2 changed files with 2 additions and 2 deletions

View file

@ -202,7 +202,7 @@ QString KStringHandler::obscure( const QString &str )
bool KStringHandler::isUtf8( const char *buf )
{
int i, n;
register unsigned char c;
unsigned char c;
bool gotone = false;
if (!buf)