Permalink
Browse files

fix compilation warning

  • Loading branch information...
1 parent f7e20ca commit 0a2678ea86e025da2d4744ec2bec7d1a5aeca8b3 William Morgan committed Mar 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/leveldb/leveldb.cc
@@ -289,8 +289,8 @@ static VALUE iter_init(VALUE self, VALUE db, VALUE options) {
current_iteration* iter;
Data_Get_Struct(self, current_iteration, iter);
- VALUE key_from;
- VALUE key_to;
+ VALUE key_from = Qnil;
+ VALUE key_to = Qnil;
if(!NIL_P(options)) {
Check_Type(options, T_HASH);

0 comments on commit 0a2678e

Please sign in to comment.