mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
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>
This commit is contained in:
parent
b5f6b5410e
commit
93f976f5f6
@ -396,7 +396,6 @@ static int set_options(struct udev *udev,
|
||||
case 'V':
|
||||
printf("%i\n", VERSION);
|
||||
exit(0);
|
||||
break;
|
||||
|
||||
case 'x':
|
||||
export = true;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user