summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-13 04:42:33 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-13 04:42:33 +0200
commitf1d3dfb11873d03bd5c59aa304db3cb336711a8b (patch)
treef99dec792ef294d5c4018a10392c11d9691816ce
parent270a6981f745a05354e09d72a7b6c3dfd4af72d3 (diff)
mmkbd,lirc: make use of pa_assert_not_reached()
-rw-r--r--src/modules/module-lirc.c2
-rw-r--r--src/modules/module-mmkbd-evdev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-lirc.c b/src/modules/module-lirc.c
index 1a318a5f..b239160a 100644
--- a/src/modules/module-lirc.c
+++ b/src/modules/module-lirc.c
@@ -161,7 +161,7 @@ static void io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_io_event
break;
case INVALID:
- ;
+ pa_assert_not_reached();
}
}
}
diff --git a/src/modules/module-mmkbd-evdev.c b/src/modules/module-mmkbd-evdev.c
index ced3a592..ccee6e1d 100644
--- a/src/modules/module-mmkbd-evdev.c
+++ b/src/modules/module-mmkbd-evdev.c
@@ -146,7 +146,7 @@ static void io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_io_event
break;
case INVALID:
- ;
+ pa_assert_not_reached();
}
}
}