diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/java/JavaUtils.cpp | 2 | ||||
-rw-r--r-- | api/logic/meta/JsonFormat.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/api/logic/java/JavaUtils.cpp b/api/logic/java/JavaUtils.cpp index deea5953..0c2e72d7 100644 --- a/api/logic/java/JavaUtils.cpp +++ b/api/logic/java/JavaUtils.cpp @@ -94,7 +94,7 @@ QList<JavaInstallPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString // Iterate until RegEnumKeyEx fails if (numSubKeys > 0) { - for (int i = 0; i < numSubKeys; i++) + for (DWORD i = 0; i < numSubKeys; i++) { subKeyNameSize = 255; retCode = RegEnumKeyEx(jreKey, i, subKeyName, &subKeyNameSize, NULL, NULL, NULL, diff --git a/api/logic/meta/JsonFormat.cpp b/api/logic/meta/JsonFormat.cpp index fda1cf97..fb78941f 100644 --- a/api/logic/meta/JsonFormat.cpp +++ b/api/logic/meta/JsonFormat.cpp @@ -28,8 +28,6 @@ using namespace Json; namespace Meta { -static const int currentFormatVersion = 0; - // Index static BaseEntity::Ptr parseIndexInternal(const QJsonObject &obj) { |