summaryrefslogtreecommitdiffstats
path: root/src/udev/udevadm-info.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-23 01:26:27 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-25 01:24:14 +0100
commitbdd13f6be4b588568683a1ab54f421fc6a636dbb (patch)
tree1a1f661d8e83011f53e9122f7dc61272dc16ddfa /src/udev/udevadm-info.c
parenthostnamectl: read virtualization/architecture from remote side (diff)
downloadsystemd-bdd13f6be4b588568683a1ab54f421fc6a636dbb.tar.xz
systemd-bdd13f6be4b588568683a1ab54f421fc6a636dbb.zip
Remove dead lines in various places
As pointed-out by clang -Wunreachable-code. No behaviour changes.
Diffstat (limited to '')
-rw-r--r--src/udev/udevadm-info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c
index 64bb537210..8145e6f50c 100644
--- a/src/udev/udevadm-info.c
+++ b/src/udev/udevadm-info.c
@@ -498,8 +498,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: