From edf0fe06c8d6fc826a109a4f60d84828508ad2f9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 20 Aug 2012 19:50:17 +0200 Subject: examples: nf-queue: fix compilation warning with gcc-4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nf-queue.c: In function ‘main’: nf-queue.c:146:12: warning: unused variable ‘id’ [-Wunused-variable] Signed-off-by: Pablo Neira Ayuso --- examples/nf-queue.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples') diff --git a/examples/nf-queue.c b/examples/nf-queue.c index 8b4b63d..4d56751 100644 --- a/examples/nf-queue.c +++ b/examples/nf-queue.c @@ -143,8 +143,6 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } while (ret > 0) { - uint32_t id; - ret = mnl_cb_run(buf, ret, 0, portid, queue_cb, NULL); if (ret < 0){ perror("mnl_cb_run"); -- cgit v1.2.3