VirtualBox

Changeset 66280 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 28, 2017 7:28:24 AM (8 years ago)
Author:
vboxsync
Message:

bugref:3300: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r66279 r66280  
    10651065    if (pState->fUpdate)
    10661066    {
     1067        HKEY hkeyServiceExe;
     1068
    10671069        vbpsCreateRegKeyWithDefaultValueAA(pState, hkeyAppIds, pszAppId, pszDescription, __LINE__);
    10681070
     
    10701072        {
    10711073            char szModule[MAX_PATH + 2];
     1074            HKEY hkeyApp;
    10721075            size_t len = RTStrNLen(pszModuleName, MAX_PATH);
    10731076            Assert(len);
     
    10771080            szModule[len - 4] = '\0';
    10781081
    1079             HKEY hkeyApp;
    10801082            rc = RegOpenKeyExA(hkeyAppIds, pszAppId, 0 /*fOptions*/, pState->fSamBoth, &hkeyApp);
    10811083            if (rc == ERROR_FILE_NOT_FOUND)
     
    10881090        vbpsCreateRegKeyWithDefaultValueAA(pState, hkeyAppIds, pszModuleName, "", __LINE__);
    10891091
    1090         HKEY hkeyServiceExe;
    10911092        rc = RegOpenKeyExA(hkeyAppIds, pszModuleName, 0 /*fOptions*/, pState->fSamBoth, &hkeyServiceExe);
    10921093        if (rc == ERROR_FILE_NOT_FOUND)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette