diff --git a/src/CppParser/VSLookup.cpp b/src/CppParser/VSLookup.cpp index 8098bcc9..9974fcd6 100644 --- a/src/CppParser/VSLookup.cpp +++ b/src/CppParser/VSLookup.cpp @@ -108,11 +108,9 @@ static bool getSystemRegistryString(const char *keyPath, const char *valueName, bestIndex = (int)index; bestValue = value; strcpy(bestName, keyName); - goto Out; } size = sizeof(keyName) - 1; } - Out: // If we found the highest versioned key, open the key and get the value. if (bestIndex != -1) { // Append rest of key. diff --git a/src/Parser/VSLookup.cpp b/src/Parser/VSLookup.cpp index 902c14d6..af7d4ba7 100644 --- a/src/Parser/VSLookup.cpp +++ b/src/Parser/VSLookup.cpp @@ -108,11 +108,9 @@ static bool getSystemRegistryString(const char *keyPath, const char *valueName, bestIndex = (int)index; bestValue = value; strcpy(bestName, keyName); - goto Out; } size = sizeof(keyName) - 1; } - Out: // If we found the highest versioned key, open the key and get the value. if (bestIndex != -1) { // Append rest of key.