NOISSUE and even more warnings gone

This commit is contained in:
Petr Mrázek 2017-05-21 22:30:53 +02:00
parent c329bc73c0
commit 4133247bff
3 changed files with 1 additions and 4 deletions

View File

@ -94,7 +94,7 @@ QList<JavaInstallPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString
// Iterate until RegEnumKeyEx fails // Iterate until RegEnumKeyEx fails
if (numSubKeys > 0) if (numSubKeys > 0)
{ {
for (int i = 0; i < numSubKeys; i++) for (DWORD i = 0; i < numSubKeys; i++)
{ {
subKeyNameSize = 255; subKeyNameSize = 255;
retCode = RegEnumKeyEx(jreKey, i, subKeyName, &subKeyNameSize, NULL, NULL, NULL, retCode = RegEnumKeyEx(jreKey, i, subKeyName, &subKeyNameSize, NULL, NULL, NULL,

View File

@ -28,8 +28,6 @@ using namespace Json;
namespace Meta namespace Meta
{ {
static const int currentFormatVersion = 0;
// Index // Index
static BaseEntity::Ptr parseIndexInternal(const QJsonObject &obj) static BaseEntity::Ptr parseIndexInternal(const QJsonObject &obj)
{ {

View File

@ -161,7 +161,6 @@ void ExternalToolsPage::on_mceditPathBtn_clicked()
do do
{ {
#ifdef Q_OS_OSX #ifdef Q_OS_OSX
#warning stuff
raw_dir = QFileDialog::getOpenFileName(this, tr("MCEdit Application"), raw_dir); raw_dir = QFileDialog::getOpenFileName(this, tr("MCEdit Application"), raw_dir);
#else #else
raw_dir = QFileDialog::getExistingDirectory(this, tr("MCEdit Folder"), raw_dir); raw_dir = QFileDialog::getExistingDirectory(this, tr("MCEdit Folder"), raw_dir);