Skip to content

Commit

Permalink
fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
William Morgan committed Mar 8, 2012
1 parent f7e20ca commit 0a2678e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/leveldb/leveldb.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 0a2678e

Please sign in to comment.