mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdecore: compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
48e8597429
commit
39b30dbb18
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray& path)
|
||||||
} else if (buf.f_type == MSDOS_SUPER_MAGIC) {
|
} else if (buf.f_type == MSDOS_SUPER_MAGIC) {
|
||||||
return KFileSystemType::Fat;
|
return KFileSystemType::Fat;
|
||||||
} else if (buf.f_type == RAMFS_MAGIC) {
|
} else if (buf.f_type == RAMFS_MAGIC) {
|
||||||
return KFileSystemType::Ramfs;
|
return KFileSystemType::Ramfs;
|
||||||
}
|
}
|
||||||
return KFileSystemType::Other;
|
return KFileSystemType::Other;
|
||||||
}
|
}
|
||||||
|
|
|
@ -202,7 +202,7 @@ QString KStringHandler::obscure( const QString &str )
|
||||||
bool KStringHandler::isUtf8( const char *buf )
|
bool KStringHandler::isUtf8( const char *buf )
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
register unsigned char c;
|
unsigned char c;
|
||||||
bool gotone = false;
|
bool gotone = false;
|
||||||
|
|
||||||
if (!buf)
|
if (!buf)
|
||||||
|
|
Loading…
Add table
Reference in a new issue