chiark / gitweb /
sd-bus: minor coding style fix
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Dec 2017 22:26:08 +0000 (23:26 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:54 +0000 (07:49 +0200)
src/libelogind/sd-bus/sd-bus.c

index cceec65b5fce235d4a6f183b30316c64ae5e9c97..cd9b010997121c8a96fe1e881ff5943993d4c3b7 100644 (file)
@@ -3276,12 +3276,9 @@ _public_ int sd_bus_default(sd_bus **ret) {
 
         /* No type is specified, so we have not other option than to
          * use the starter address if it is set. */
-
         e = secure_getenv("DBUS_STARTER_ADDRESS");
-        if (e) {
-
+        if (e)
                 return bus_default(sd_bus_open, &default_starter_bus, ret);
-        }
 
         /* Finally, if nothing is set use the cached connection for
          * the right scope */