VirtualBox

Changeset 107646 in vbox


Ignore:
Timestamp:
Jan 10, 2025 1:18:16 PM (8 days ago)
Author:
vboxsync
Message:

Main/src-client/RecordingCodec.cpp: Enclose debug log only code in #ifdef LOG_ENABLED #endif, bugref:3409

File:
1 edited

Legend:

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

    r106061 r107646  
    702702    }
    703703
     704#ifdef LOG_ENABLED
    704705    size_t cBlocksEncoded = 0;
     706#endif
    705707    size_t cBytesEncoded  = 0;
    706708
     
    735737            cBytesEncoded += op.bytes;
    736738            AssertBreakStmt(cBytesEncoded <= pCodec->cbScratch, vrc = VERR_BUFFER_OVERFLOW);
     739#ifdef LOG_ENABLED
    737740            cBlocksEncoded++;
     741#endif
    738742
    739743            vrc = pCodec->Callbacks.pfnWriteData(pCodec, op.packet, (size_t)op.bytes, pCodec->State.tsLastWrittenMs,
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