aboutsummaryrefslogtreecommitdiffstats
path: root/probes_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'probes_helper.h')
-rw-r--r--probes_helper.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/probes_helper.h b/probes_helper.h
index 13bcbdbbda..91514b31ea 100644
--- a/probes_helper.h
+++ b/probes_helper.h
@@ -23,7 +23,7 @@ VALUE rb_class_path_no_cache(VALUE _klass);
else if (FL_TEST(_klass, FL_SINGLETON)) { \
_klass = rb_iv_get(_klass, "__attached__"); \
} \
- switch(TYPE(_klass)) { \
+ switch (TYPE(_klass)) { \
case T_CLASS: \
case T_ICLASS: \
case T_MODULE: \
@@ -31,7 +31,8 @@ VALUE rb_class_path_no_cache(VALUE _klass);
VALUE _name = rb_class_path_no_cache(_klass); \
if (!NIL_P(_name)) { \
classname = StringValuePtr(_name); \
- } else { \
+ } \
+ else { \
classname = "<unknown>"; \
} \
methodname = rb_id2name(_id); \