VirtualBox

Changeset 92784 in vbox for trunk


Ignore:
Timestamp:
Dec 7, 2021 11:53:19 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/semevent*-linux: Share more code between the single-release and multiple-release linux event sempahore code. [build fix] bugref:10138

Location:
trunk/src/VBox/Runtime/r3/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp

    r92782 r92784  
    352352    int             iWaitOp;
    353353    uint32_t        uWaitVal3;
    354     uint64_t        nsAbsTimeout;
     354    uint64_t        nsAbsTimeout = uTimeout; /* (older gcc maybe used uninitialized) */
    355355    uTimeout = rtSemLinuxCalcDeadline(fFlags, uTimeout, g_fCanUseWaitBitSet, &TsTimeout, &iWaitOp, &uWaitVal3, &nsAbsTimeout);
    356356    if (uTimeout == 0)
  • trunk/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp

    r92782 r92784  
    396396    int             iWaitOp;
    397397    uint32_t        uWaitVal3;
    398     uint64_t        nsAbsTimeout;
     398    uint64_t        nsAbsTimeout = uTimeout; /* (older gcc maybe used uninitialized) */
    399399    uTimeout = rtSemLinuxCalcDeadline(fFlags, uTimeout, g_fCanUseWaitBitSet, &TsTimeout, &iWaitOp, &uWaitVal3, &nsAbsTimeout);
    400400    if (uTimeout == 0)
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