bus_managers/ps2: Fix PVS 519, 520
Fix 'xDelta' and 'yDelta' are assigned to itself. Change-Id: I2e1d5fbcf3137086875db2e9590780fc1034f0bc Reviewed-on: https://review.haiku-os.org/c/864 Reviewed-by: Stefano Ceccherini <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
3af2e73e0b
commit
5bfdd10fb6
@@ -219,13 +219,6 @@ void
|
|||||||
MovementMaker::GetMovement(uint32 posX, uint32 posY)
|
MovementMaker::GetMovement(uint32 posX, uint32 posY)
|
||||||
{
|
{
|
||||||
_GetRawMovement(posX, posY);
|
_GetRawMovement(posX, posY);
|
||||||
|
|
||||||
// TRACE("SYN: pos: %lu x %lu, delta: %ld x %ld, sums: %ld x %ld\n",
|
|
||||||
// posX, posY, xDelta, yDelta,
|
|
||||||
// fDeltaSumX, fDeltaSumY);
|
|
||||||
|
|
||||||
xDelta = xDelta;
|
|
||||||
yDelta = yDelta;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user