Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@379 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -451,7 +451,7 @@ DBG(OUT("BLooper::Quit()\n"));
|
|||||||
name = "no-name";
|
name = "no-name";
|
||||||
}
|
}
|
||||||
printf("ERROR - you must Lock a looper before calling Quit(), "
|
printf("ERROR - you must Lock a looper before calling Quit(), "
|
||||||
"team=%d, looper=%s", Team(), name);
|
"team=%ld, looper=%s", Team(), name);
|
||||||
}
|
}
|
||||||
DBG(OUT(" is locked\n"));
|
DBG(OUT(" is locked\n"));
|
||||||
|
|
||||||
@@ -540,7 +540,7 @@ DBG(OUT(" fOwnerCount now: %ld\n", fOwnerCount));
|
|||||||
fOwner = -1;
|
fOwner = -1;
|
||||||
|
|
||||||
// Decrement requested lock count (using fAtomicCount for this)
|
// Decrement requested lock count (using fAtomicCount for this)
|
||||||
int32 atomicCount = atomic_add(&fAtomicCount, -1);
|
/* int32 atomicCount =*/ atomic_add(&fAtomicCount, -1);
|
||||||
DBG(OUT(" fAtomicCount now: %ld\n", fAtomicCount));
|
DBG(OUT(" fAtomicCount now: %ld\n", fAtomicCount));
|
||||||
|
|
||||||
// Check if anyone is waiting for a lock
|
// Check if anyone is waiting for a lock
|
||||||
|
|||||||
Reference in New Issue
Block a user