]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove unused "i" variable in lxc_get_item_nic
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 2 Sep 2012 00:19:53 +0000 (20:19 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:30 +0000 (13:17 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/confile.c

index dd207c1013b30b5f57542aeaca46f5fd1ea680fd..8b8cb6daaf5bdcef7a793b5a02e4df23c324c612 100644 (file)
@@ -1400,7 +1400,7 @@ static int lxc_get_mount_entries(struct lxc_conf *c, char *retv, int inlen)
 static int lxc_get_item_nic(struct lxc_conf *c, char *retv, int inlen, char *key)
 {
        char *p1;
-       int i, len, fulllen = 0;
+       int len, fulllen = 0;
        struct lxc_netdev *netdev;
 
        if (!retv)