Changeset 94953 in vbox
- Timestamp:
- May 9, 2022 12:00:28 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/EBMLWriter.cpp
r93115 r94953 70 70 int EBMLWriter::create(const char *a_pszFile, uint64_t fOpen) 71 71 { 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)) 74 74 m_strFile = a_pszFile; 75 75 76 return rc;76 return vrc; 77 77 } 78 78 … … 81 81 { 82 82 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); 85 85 } 86 86
Note:
See TracChangeset
for help on using the changeset viewer.