[KBDCLASS][MOUCLASS]
authorCameron Gutman <aicommander@gmail.com>
Mon, 20 Feb 2012 12:08:35 +0000 (12:08 +0000)
committerCameron Gutman <aicommander@gmail.com>
Mon, 20 Feb 2012 12:08:35 +0000 (12:08 +0000)
- Demote an assertion into a warning

svn path=/trunk/; revision=55752

reactos/drivers/input/kbdclass/kbdclass.c
reactos/drivers/input/mouclass/mouclass.c

index 592e722..e3c367a 100644 (file)
@@ -749,8 +749,7 @@ ClassCancelRoutine(
        }
        else
        {
-               /* Hm, this shouldn't happen */
-               ASSERT(FALSE);
+               DPRINT1("Cancelled IRP is not pending. Race condition?\n");
        }
 }
 
index 58f957f..cb61b67 100644 (file)
@@ -725,8 +725,7 @@ ClassCancelRoutine(
        }
        else
        {
-               /* Hm, this shouldn't happen */
-               ASSERT(FALSE);
+        DPRINT1("Cancelled IRP is not pending. Race condition?\n");
        }
 }