[ovs-dev] [PATCH] test-classifier: Remove write-only variable.

Ben Pfaff blp at nicira.com
Sat Oct 1 00:03:30 UTC 2011


---
 tests/test-classifier.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/tests/test-classifier.c b/tests/test-classifier.c
index 1cfd5cf..5f5d797 100644
--- a/tests/test-classifier.c
+++ b/tests/test-classifier.c
@@ -401,7 +401,6 @@ check_tables(const struct classifier *cls,
              int n_tables, int n_rules, int n_dups)
 {
     const struct cls_table *table;
-    struct flow_wildcards exact_wc;
     struct test_rule *test_rule;
     struct cls_cursor cursor;
     int found_tables = 0;
@@ -409,7 +408,6 @@ check_tables(const struct classifier *cls,
     int found_dups = 0;
     int found_rules2 = 0;
 
-    flow_wildcards_init_exact(&exact_wc);
     HMAP_FOR_EACH (table, hmap_node, &cls->tables) {
         const struct cls_rule *head;
 
-- 
1.7.4.4




More information about the dev mailing list