Commit 0d7d7940 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

dix: use BUG_RETURN_VAL for an error message

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Keith Packard's avatarKeith Packard <>
parent a0c38ea6
......@@ -1051,11 +1051,8 @@ SetDeviceSpecificAccelerationProfile(DeviceVelocityPtr vel,
GetDevicePredictableAccelData(DeviceIntPtr dev)
/*sanity check */
if (!dev) {
ErrorF("[dix] accel: DeviceIntPtr was NULL");
return NULL;
if (dev->valuator &&
dev->valuator->accelScheme.AccelSchemeProc ==
acceleratePointerPredictable &&
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment