diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-30 01:38:36 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-31 14:28:36 -0400 |
commit | 4dd1de72e8e7ece77e8831e77eea650de404af75 (patch) | |
tree | 11193d7a3798b1bf4f592304af1e8efe9d46f770 /src/udev | |
parent | a7edaadd78271e1c35ff9032f068cb08de645437 (diff) |
Remove some dead code
Based on coverity report.
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udevadm-trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c index 9624c66fba..f472996965 100644 --- a/src/udev/udevadm-trigger.c +++ b/src/udev/udevadm-trigger.c @@ -214,7 +214,7 @@ static int adm_trigger(struct udev *udev, int argc, char *argv[]) exec_list(udev_enumerate, action); goto exit; default: - goto exit; + assert_not_reached("device_type"); } exit: udev_enumerate_unref(udev_enumerate); |