assert(1) is a tad silly, oops.
Signed-off-by: Peter Hutterer <[email protected]>
---
test/tablet-validity.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/tablet-validity.c b/test/tablet-validity.c
index 5b07ec2..6ec3bbb 100644
--- a/test/tablet-validity.c
+++ b/test/tablet-validity.c
@@ -164,7 +164,7 @@ static void verify_tablet(WacomDeviceDatabase *db,
WacomDevice *device)
}
break;
default:
- assert(1); /* don't get here */
+ abort(); /* don't get here */
}
for (i = 0; i < nstyli; i++) {
--
2.1.0
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel