Fix Krazy code scanning tool warnings (QString, loops, spelling).

This commit is contained in:
Friedemann Kleint
2011-02-25 15:27:13 +01:00
parent 49311aa362
commit 88f333267f
56 changed files with 119 additions and 110 deletions

View File

@@ -53,7 +53,7 @@ static QString errorCodeToString(DWORD errorCode)
if (data != 0)
LocalFree(data);
if (result.endsWith("\n"))
if (result.endsWith('\n'))
result.truncate(result.length() - 1);
return result;