Skip to content

Commit a126e8a

Browse files
committed
Fix linter warning.
1 parent 6f77ccf commit a126e8a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/c/cext/ruby.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static int rb_tr_fprintf_value(FILE *stream,
6767

6868
v = *((const VALUE *) (args[0]));
6969
if (info->showsign) {
70-
if(RB_TYPE_P(v, T_CLASS)) {
70+
if (RB_TYPE_P(v, T_CLASS)) {
7171
if (v == rb_cNilClass) {
7272
cstr = "nil";
7373
} else if (v == rb_cInteger) {
@@ -911,8 +911,7 @@ VALUE rb_str_buf_new(long capacity) {
911911
return str;
912912
}
913913

914-
VALUE rb_sprintf(const char *format, ...)
915-
{
914+
VALUE rb_sprintf(const char *format, ...) {
916915
VALUE result;
917916
va_list ap;
918917

0 commit comments

Comments
 (0)