VirtualBox

Ignore:
Timestamp:
Jan 25, 2023 1:14:53 AM (23 months ago)
Author:
vboxsync
Message:

Main/src-server: rc -> hrc/vrc. Enabled scm rc checks. bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp

    r98103 r98292  
    14731473HRESULT UnattendedSuseInstaller::setUserData()
    14741474{
    1475     HRESULT rc = S_OK;
     1475    HRESULT hrc = S_OK;
    14761476    //here base class function must be called first
    14771477    //because user home directory is set after user name
    1478     rc = UnattendedInstaller::setUserData();
    1479 
    1480     rc = mAlg->setField(USERHOMEDIR_ID, "");
    1481     if (FAILED(rc))
    1482         return rc;
    1483 
    1484     return rc;
     1478    hrc = UnattendedInstaller::setUserData();
     1479
     1480    hrc = mAlg->setField(USERHOMEDIR_ID, "");
     1481    if (FAILED(hrc))
     1482        return hrc;
     1483
     1484    return hrc;
    14851485}
    14861486
     
    15041504HRESULT UnattendedSuseInstaller::setupScriptOnAuxiliaryCD(const Utf8Str &path)
    15051505{
    1506     HRESULT rc = S_OK;
     1506    HRESULT hrc = S_OK;
    15071507
    15081508    GeneralTextScript isoSuseCfgScript(mpParent);
    1509     rc = isoSuseCfgScript.read(path);
    1510     rc = isoSuseCfgScript.parse();
     1509    hrc = isoSuseCfgScript.read(path);
     1510    hrc = isoSuseCfgScript.parse();
    15111511    //fix linux core bootable parameters: add path to the preseed script
    15121512
     
    15401540    }
    15411541
    1542     rc = isoSuseCfgScript.save(path, true);
     1542    hrc = isoSuseCfgScript.save(path, true);
    15431543
    15441544    LogRelFunc(("UnattendedSuseInstaller::setupScriptsOnAuxiliaryCD(): The file %s has been changed\n", path.c_str()));
    15451545
    1546     return rc;
     1546    return hrc;
    15471547}
    15481548#endif
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