Changeset 24181 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Oct 30, 2009 10:51:56 AM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/common/misc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/cache.cpp
r21337 r24181 195 195 RTDECL(int) RTCacheRequest(PRTOBJCACHE pCache, void **ppObj) 196 196 { 197 RTSPINLOCKTMP spinlockTmp ;197 RTSPINLOCKTMP spinlockTmp = RTSPINLOCKTMP_INITIALIZER; 198 198 199 199 if (pCache->SpinlockRequest != NIL_RTSPINLOCK) … … 264 264 RTDECL(int) RTCacheInsert(PRTOBJCACHE pCache, void *pObj) 265 265 { 266 RTSPINLOCKTMP spinlockTmp ;266 RTSPINLOCKTMP spinlockTmp = RTSPINLOCKTMP_INITIALIZER; 267 267 int rc = VINF_SUCCESS; 268 268 -
trunk/src/VBox/Runtime/common/misc/handletable.cpp
r21337 r24181 131 131 { 132 132 PRTHANDLETABLEINT pThis; 133 RTSPINLOCKTMP Tmp ;133 RTSPINLOCKTMP Tmp = RTSPINLOCKTMP_INITIALIZER; 134 134 uint32_t i1; 135 135 uint32_t i; -
trunk/src/VBox/Runtime/common/misc/handletablectx.cpp
r21337 r24181 50 50 { 51 51 PRTHANDLETABLEINT pThis; 52 RTSPINLOCKTMP Tmp ;52 RTSPINLOCKTMP Tmp /*= no init */; 53 53 int rc; 54 54 … … 227 227 PRTHTENTRYCTX pEntry; 228 228 PRTHANDLETABLEINT pThis; 229 RTSPINLOCKTMP Tmp ;229 RTSPINLOCKTMP Tmp /*= no init */; 230 230 231 231 /* validate the input */ … … 271 271 PRTHTENTRYCTX pEntry; 272 272 PRTHANDLETABLEINT pThis; 273 RTSPINLOCKTMP Tmp ;273 RTSPINLOCKTMP Tmp /*= no init */; 274 274 275 275 /* validate the input */ -
trunk/src/VBox/Runtime/common/misc/handletablesimple.cpp
r21337 r24181 61 61 * Allocation loop. 62 62 */ 63 RTSPINLOCKTMP Tmp ;63 RTSPINLOCKTMP Tmp /*= no init */; 64 64 rtHandleTableLock(pThis, &Tmp); 65 65 … … 217 217 218 218 /* acquire the lock */ 219 RTSPINLOCKTMP Tmp ;219 RTSPINLOCKTMP Tmp /*= no init */; 220 220 rtHandleTableLock(pThis, &Tmp); 221 221 … … 258 258 259 259 /* acquire the lock */ 260 RTSPINLOCKTMP Tmp ;260 RTSPINLOCKTMP Tmp /*= no init */; 261 261 rtHandleTableLock(pThis, &Tmp); 262 262
Note:
See TracChangeset
for help on using the changeset viewer.