summaryrefslogtreecommitdiff
path: root/src/busctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-19 12:13:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-19 12:13:23 +0200
commit5d13a15b1d0bd7d218100d204a84eaaaaeab932f (patch)
tree08d1ba916131ac128453713792cd8498b556de3a /src/busctl
parent6360b8ff8383bb69978e6278298b4a2bef329f25 (diff)
downloadsystemd-5d13a15b1d0bd7d218100d204a84eaaaaeab932f.tar.gz
tree-wide: drop spurious newlines (#8764)
Double newlines (i.e. one empty lines) are great to structure code. But let's avoid triple newlines (i.e. two empty lines), quadruple newlines, quintuple newlines, …, that's just spurious whitespace. It's an easy way to drop 121 lines of code, and keeps the coding style of our sources a bit tigther.
Diffstat (limited to 'src/busctl')
-rw-r--r--src/busctl/busctl-introspect.c1
-rw-r--r--src/busctl/busctl.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/busctl/busctl-introspect.c b/src/busctl/busctl-introspect.c
index c2118b6296..fc384464d6 100644
--- a/src/busctl/busctl-introspect.c
+++ b/src/busctl/busctl-introspect.c
@@ -544,7 +544,6 @@ static int parse_xml_node(Context *context, const char *prefix, unsigned n_depth
break;
-
case STATE_SIGNAL_ARG:
if (t == XML_ATTRIBUTE_NAME) {
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index 419d75f53e..f19edfd987 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -1462,7 +1462,6 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
break;
}
-
case SD_BUS_TYPE_DOUBLE: {
double z;
@@ -1980,7 +1979,6 @@ static int parse_argv(int argc, char *argv[]) {
arg_expect_reply = !!r;
break;
-
case ARG_AUTO_START:
r = parse_boolean(optarg);
if (r < 0) {
@@ -1991,7 +1989,6 @@ static int parse_argv(int argc, char *argv[]) {
arg_auto_start = !!r;
break;
-
case ARG_ALLOW_INTERACTIVE_AUTHORIZATION:
r = parse_boolean(optarg);
if (r < 0) {