VirtualBox

Changeset 107451 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 7, 2025 10:04:06 AM (12 days ago)
Author:
vboxsync
Message:

Runtime/common/fs/extvfs.cpp: Fix an unread variable parfait warning, the variable is only used on LOG_ENABLED code, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/extvfs.cpp

    r106061 r107451  
    20102010    uint64_t offEntry = 0;
    20112011    int rc = VERR_FILE_NOT_FOUND;
     2012#ifdef LOG_ENABLED
    20122013    uint32_t idxDirEntry = 0;
     2014#endif
    20132015    size_t cchEntry = strlen(pszEntry);
    20142016
     
    20252027#ifdef LOG_ENABLED
    20262028            rtFsExtDirEntry_Log(pThis, idxDirEntry, &DirEntry);
     2029            idxDirEntry++;
    20272030#endif
    20282031
     
    20392042
    20402043            offEntry += RT_LE2H_U16(DirEntry.Core.cbRecord);
    2041             idxDirEntry++;
    20422044        }
    20432045        else
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