summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPatrick Hogan <[email protected]>2012-04-25 11:25:09 -0500
committerPatrick Hogan <[email protected]>2012-04-26 08:36:32 -0500
commita408ba2dd62c7677f1bbffc9d948f53ec630bfb7 (patch)
tree0ee428635fe08cd3677b4147e4b9c976e303bdaf /include
parenta4c98538138f0b525a6f3056456e0cadc51d461d (diff)
downloadmruby-a408ba2dd62c7677f1bbffc9d948f53ec630bfb7.tar.gz
mruby-a408ba2dd62c7677f1bbffc9d948f53ec630bfb7.zip
Remove unused ret argument from kh_put.
It doesn't appear to serve any purpose and allows removing warning about various unused variables littered around. Signed-off-by: Patrick Hogan <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/mruby/khash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/khash.h b/include/mruby/khash.h
index a17db425a..173f5d20d 100644
--- a/include/mruby/khash.h
+++ b/include/mruby/khash.h
@@ -168,7 +168,7 @@ static uint8_t __m[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
#define kh_destroy(name, h) kh_destroy_##name(h)
#define kh_clear(name, h) kh_clear_##name(h)
#define kh_resize(name, h, s) kh_resize_##name(h, s)
-#define kh_put(name, h, k, r) kh_put_##name(h, k)
+#define kh_put(name, h, k) kh_put_##name(h, k)
#define kh_get(name, h, k) kh_get_##name(h, k)
#define kh_del(name, h, k) kh_del_##name(h, k)
#define kh_debug(name, h) kh_debug_##name(h)