Skip to content
Browse files

insert missing return statement

The fact that this works without this, on most machines I tried,
is a testament to the magical nature of computers.
  • Loading branch information...
1 parent e724b99 commit 46aa02798b09c96d11d18655bec8c77295632508 William Morgan committed Mar 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ext/leveldb/leveldb.cc
View
1 ext/leveldb/leveldb.cc
@@ -370,6 +370,7 @@ static VALUE iter_next_value(current_iteration* iter) {
VALUE arr = rb_ary_new2(2);
rb_ary_push(arr, SLICE_TO_RUBY_STRING(iter->current_key));
rb_ary_push(arr, SLICE_TO_RUBY_STRING(iter->iterator->value()));
+ return arr;
}
static void iter_scan_iterator(current_iteration* iter) {

0 comments on commit 46aa027

Please sign in to comment.
Something went wrong with that request. Please try again.