VirtualBox

Changeset 94953 in vbox


Ignore:
Timestamp:
May 9, 2022 12:00:28 PM (3 years ago)
Author:
vboxsync
Message:

Main/src-client/EBMLWriter.cpp: Adjust to the new rules wrt. to rc -> hrc,vrc usage, ​bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/EBMLWriter.cpp

    r93115 r94953  
    7070int EBMLWriter::create(const char *a_pszFile, uint64_t fOpen)
    7171{
    72     int rc = RTFileOpen(&m_hFile, a_pszFile, fOpen);
    73     if (RT_SUCCESS(rc))
     72    int vrc = RTFileOpen(&m_hFile, a_pszFile, fOpen);
     73    if (RT_SUCCESS(vrc))
    7474        m_strFile = a_pszFile;
    7575
    76     return rc;
     76    return vrc;
    7777}
    7878
     
    8181{
    8282    RTFOFF pcbFree;
    83     int rc = RTFileQueryFsSizes(m_hFile, NULL, &pcbFree, 0, 0);
    84     return (RT_SUCCESS(rc)? (uint64_t)pcbFree : UINT64_MAX);
     83    int vrc = RTFileQueryFsSizes(m_hFile, NULL, &pcbFree, 0, 0);
     84    return (RT_SUCCESS(vrc)? (uint64_t)pcbFree : UINT64_MAX);
    8585}
    8686
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