summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-message.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-21 00:02:35 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-21 00:03:22 +0200
commit6e37cd2f4af8928d905203108a4331e375d7127c (patch)
tree5c8739d0b8f93405d7471053da3c7fdc84dc022b /src/libsystemd/sd-rtnl/rtnl-message.c
parent57bd6899b35b84d1f23809133ae45d29a87b2eaa (diff)
silence warnings
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-message.c')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c
index a5b09eddad..3576274e45 100644
--- a/src/libsystemd/sd-rtnl/rtnl-message.c
+++ b/src/libsystemd/sd-rtnl/rtnl-message.c
@@ -1092,7 +1092,7 @@ int socket_read_message(sd_rtnl *rtnl) {
struct nlmsghdr *new_msg;
size_t len;
int r;
- unsigned i;
+ unsigned i = 0;
assert(rtnl);
assert(rtnl->rbuffer);