summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c2
-rw-r--r--variable.c2
-rw-r--r--vm_insnhelper.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/process.c b/process.c
index 16e6e6a568..fe0587119e 100644
--- a/process.c
+++ b/process.c
@@ -2726,7 +2726,7 @@ run_exec_rlimit(VALUE ary, struct rb_execarg *sargp, char *errmsg, size_t errmsg
RLIM2NUM(rlim.rlim_max)));
if (sargp->rlimit_limits == Qfalse)
newary = sargp->rlimit_limits = hide_obj(rb_ary_new());
- else
+ else
newary = sargp->rlimit_limits;
rb_ary_push(newary, tmp);
}
diff --git a/variable.c b/variable.c
index b9c473d208..9a4be56497 100644
--- a/variable.c
+++ b/variable.c
@@ -2392,7 +2392,7 @@ cv_i(st_data_t k, st_data_t v, st_data_t a)
}
return ST_CONTINUE;
}
-
+
static void*
mod_cvar_at(VALUE mod, void *data)
{
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 1a8f325e2d..9850f07303 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1873,7 +1873,7 @@ check_match(VALUE pattern, VALUE target, enum vm_check_match_type type)
#if defined(_MSC_VER) && _MSC_VER < 1300
#define CHECK_CMP_NAN(a, b) if (isnan(a) || isnan(b)) return Qfalse;
#else
-#define CHECK_CMP_NAN(a, b)
+#define CHECK_CMP_NAN(a, b) /* do nothing */
#endif
static inline VALUE