From fd86d9ed17fb8c3df86ac9d74f7497f11a594cf0 Mon Sep 17 00:00:00 2001 From: "Justin P. Mattock" Date: Thu, 26 May 2011 16:25:14 -0700 Subject: [PATCH] --- yaml --- r: 252024 b: refs/heads/master c: fbdd91a6293f5e7fb1914966f5d244f72619641e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Documentation/accounting/getdelays.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 94610ccb4936..8a8b7e5cb2a9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 72eef0f3af410de2c85f236140ddea61b71cfc3e +refs/heads/master: fbdd91a6293f5e7fb1914966f5d244f72619641e diff --git a/trunk/Documentation/accounting/getdelays.c b/trunk/Documentation/accounting/getdelays.c index e9c77788a39d..16e16d57b9eb 100644 --- a/trunk/Documentation/accounting/getdelays.c +++ b/trunk/Documentation/accounting/getdelays.c @@ -433,8 +433,6 @@ int main(int argc, char *argv[]) } do { - int i; - rep_len = recv(nl_sd, &msg, sizeof(msg), 0); PRINTF("received %d bytes\n", rep_len); @@ -459,7 +457,6 @@ int main(int argc, char *argv[]) na = (struct nlattr *) GENLMSG_DATA(&msg); len = 0; - i = 0; while (len < rep_len) { len += NLA_ALIGN(na->nla_len); switch (na->nla_type) {