summaryrefslogtreecommitdiff
path: root/src/network/networkd-brvlan.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-21 13:20:02 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-21 14:15:23 +0200
commit3f0083a264952dc79f3ae478044b79b66ed03c46 (patch)
tree7c64efb88a7f0d656da28b59fe8e900355090bff /src/network/networkd-brvlan.c
parentb541146bf8c34aaaa9efcf58325f18da9253c4ec (diff)
tree-wide: some work-arounds for gcc false positives regarding uninitialized variables
Diffstat (limited to 'src/network/networkd-brvlan.c')
-rw-r--r--src/network/networkd-brvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-brvlan.c b/src/network/networkd-brvlan.c
index f621b8011b..8bc330ebae 100644
--- a/src/network/networkd-brvlan.c
+++ b/src/network/networkd-brvlan.c
@@ -58,7 +58,7 @@ static int append_vlan_info_data(Link *const link, sd_netlink_message *req, uint
struct bridge_vlan_info br_vlan;
int i, j, k, r, done, cnt;
uint16_t begin, end;
- bool untagged;
+ bool untagged = false;
assert(link);
assert(req);