VirtualBox

Changeset 107713 in vbox for trunk/src


Ignore:
Timestamp:
Jan 13, 2025 4:33:35 PM (7 days ago)
Author:
vboxsync
Message:

Runtime/common/math/bignum.cpp: Remove redundant if condition, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/bignum.cpp

    r106061 r107713  
    396396        if (RT_LIKELY(pvNew))
    397397        {
    398             if (cbNew > cbOld)
    399                 RT_BZERO((char *)pvNew + cbOld, cbNew - cbOld);
     398            RT_BZERO((char *)pvNew + cbOld, cbNew - cbOld);
    400399            if (pBigNum->cUsed > cNewUsed)
    401400                RT_BZERO((RTBIGNUMELEMENT *)pvNew + cNewUsed, (pBigNum->cUsed - cNewUsed) * RTBIGNUM_ELEMENT_SIZE);
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