From 22bd603a7ee41f018c81fad94e6f18738713245b Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Wed, 9 May 2012 10:59:05 +0900 Subject: move declaration in the middle --- include/mruby/khash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mruby/khash.h b/include/mruby/khash.h index 5eef2af59..0485bf9f3 100644 --- a/include/mruby/khash.h +++ b/include/mruby/khash.h @@ -112,10 +112,10 @@ static const uint8_t __m[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80}; khkey_t *old_keys = h->keys; \ khval_t *old_vals = h->vals; \ khint_t old_n_buckets = h->n_buckets; \ + khint_t i; \ h->n_buckets = new_n_buckets; \ kh_alloc_##name(h); \ /* relocate */ \ - khint_t i; \ for( i=0 ; i