diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-28 16:51:06 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-02-28 16:51:06 -0500 |
commit | 93f976f5f6b859c42b60a027fe226a4df43da678 (patch) | |
tree | bd5b5fb607684ae70be6baf815bbfa4f0836d9c8 /src/udev/udevadm-info.c | |
parent | b5f6b5410e3a133b0c2942be85b1369b2b2d991b (diff) |
Remove dead lines in various places
As pointed-out by clang -Wunreachable-code.
No behaviour changes.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevadm-info.c')
-rw-r--r-- | src/udev/udevadm-info.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c index 87225a8fec..9bf2c24ced 100644 --- a/src/udev/udevadm-info.c +++ b/src/udev/udevadm-info.c @@ -499,8 +499,7 @@ static int uinfo(struct udev *udev, int argc, char *argv[]) print_record(device); break; default: - fprintf(stderr, "unknown query type\n"); - break; + assert_not_reached("unknown query type"); } break; case ACTION_ATTRIBUTE_WALK: |