Complained by clang 3.4.

lib/route-table-bsd.c:35:1: error: unused variable 'THIS_MODULE'
      [-Werror,-Wunused-const-variable]
VLOG_DEFINE_THIS_MODULE(route_table);
^
./lib/vlog.h:176:42: note: expanded from macro 'VLOG_DEFINE_THIS_MODULE'
        static struct vlog_module *const THIS_MODULE = &VLM_##MODULE

Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp>
---
 lib/route-table-bsd.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/route-table-bsd.c b/lib/route-table-bsd.c
index d02c76f..f14fea0 100644
--- a/lib/route-table-bsd.c
+++ b/lib/route-table-bsd.c
@@ -30,9 +30,6 @@
 #include <unistd.h>
 
 #include "util.h"
-#include "vlog.h"
-
-VLOG_DEFINE_THIS_MODULE(route_table);
 
 static int pid;
 static unsigned int register_count = 0;
-- 
1.8.3.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to