Added a bunch of warning flags and fixed most of the shadowed

variables.
This commit is contained in:
codestation
2015-02-27 22:59:22 -04:30
parent ddf9b4a611
commit 60a3049391
37 changed files with 380 additions and 362 deletions

View File

@@ -947,10 +947,7 @@ static bool LoadCubeMap( QDataStream & s, const DDSHeader & header, QImage & img
return true;
}
bool canReadDDS(QIODevice *device)
static bool canReadDDS(QIODevice *device)
{
if (!device) {
qWarning("DDSHandler::canRead() called with no device");