about summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--ext/rpatricia/rpatricia.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/rpatricia/rpatricia.c b/ext/rpatricia/rpatricia.c
index 81e0990..822c6c3 100644
--- a/ext/rpatricia/rpatricia.c
+++ b/ext/rpatricia/rpatricia.c
@@ -326,6 +326,8 @@ p_init_copy(VALUE self, VALUE orig)
       PATRICIA_DATA_SET(node, user_data);
     } PATRICIA_WALK_END;
   }
+
+  return self;
 }
 
 static VALUE