summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 08:16:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 08:16:32 +0000
commit405ad52ad735fb70cb6381cf8f1a79a12a55ed02 (patch)
tree08e810650bd3ff8fbefe2dac1bc11ec66e98244e
parent6951fbca430cc707bfaeeab3fffa4aebbc646ef9 (diff)
function.c: adjust indent
* ext/fiddle/function.c (parse_keyword_arg_i): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/fiddle/function.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/fiddle/function.c b/ext/fiddle/function.c
index 4a5a589..066602e 100644
--- a/ext/fiddle/function.c
+++ b/ext/fiddle/function.c
@@ -53,12 +53,12 @@ rb_fiddle_new_function(VALUE address, VALUE arg_types, VALUE ret_type)
static int
parse_keyword_arg_i(VALUE key, VALUE value, VALUE self)
{
- if (key == ID2SYM(rb_intern("name"))) {
- rb_iv_set(self, "@name", value);
- } else {
- rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key);
- }
- return ST_CONTINUE;
+ if (key == ID2SYM(rb_intern("name"))) {
+ rb_iv_set(self, "@name", value);
+ } else {
+ rb_raise(rb_eArgError, "unknown keyword: %"PRIsVALUE, key);
+ }
+ return ST_CONTINUE;
}
static VALUE