]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: do not assign the variable twice
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 8 Apr 2015 22:05:22 +0000 (00:05 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 8 Apr 2015 22:05:58 +0000 (00:05 +0200)
src/network/networkd-link.c

index 3bd37d8087ca89b74ccb78c0e4f73cee7049e159..be9e5ed619980946b7e596b8c18fd3a0022a3340 100644 (file)
@@ -2420,7 +2420,6 @@ int link_save(Link *link) {
                 bool space = false;
 
                 fputs("CARRIER_BOUND_BY=", f);
-                space = false;
                 HASHMAP_FOREACH(carrier, link->bound_by_links, i) {
                         if (space)
                                 fputc(' ', f);