about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-16 12:03:07 -0700
committerEric Wong <normalperson@yhbt.net>2011-06-16 12:03:07 -0700
commitdbe61461186b3214aeb0ee20ecb9d278eed2b814 (patch)
treef9f324ac8a402596adf9ac39cb7601f9d014eba7
parent2ced6d0769bd2827ba0d488e7c3455a2273fb88b (diff)
downloadrpatricia-dbe61461186b3214aeb0ee20ecb9d278eed2b814.tar.gz
rpatricia: fix unused variable warnings in Ruby interface
-rw-r--r--ext/rpatricia/rpatricia.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/rpatricia/rpatricia.c b/ext/rpatricia/rpatricia.c
index 822c6c3..127de07 100644
--- a/ext/rpatricia/rpatricia.c
+++ b/ext/rpatricia/rpatricia.c
@@ -311,7 +311,6 @@ p_init_copy(VALUE self, VALUE orig)
   if (orig_tree->head) {
     patricia_tree_t *tree;
     patricia_node_t *orig_node, *node;
-    prefix_t prefix;
     VALUE user_data;
 
     DATA_PTR(self) = tree = New_Patricia(orig_tree->maxbits);