VirtualBox

Changeset 22820 in vbox


Ignore:
Timestamp:
Sep 7, 2009 7:12:17 PM (15 years ago)
Author:
vboxsync
Message:

Runtime/powernotification: Initialize SPINLOCKTMP variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/powernotification-r0drv.c

    r22052 r22820  
    9292{
    9393    PRTPOWERNOTIFYREG pCur;
    94     RTSPINLOCKTMP Tmp;
     94    RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER;;
    9595    RTSPINLOCK hSpinlock;
    9696
     
    164164    PRTPOWERNOTIFYREG pCur;
    165165    PRTPOWERNOTIFYREG pNew;
    166     RTSPINLOCKTMP Tmp;
     166    RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER;;
    167167
    168168    /*
     
    232232    PRTPOWERNOTIFYREG pPrev;
    233233    PRTPOWERNOTIFYREG pCur;
    234     RTSPINLOCKTMP Tmp;
     234    RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER;;
    235235
    236236    /*
     
    309309        {
    310310            PRTPOWERNOTIFYREG pHead;
    311             RTSPINLOCKTMP Tmp;
     311            RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER;;
    312312
    313313            /** @todo OS specific term here */
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