summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-01-08 00:50:41 +0900
committerNobuyoshi Nakada <[email protected]>2024-01-08 00:50:41 +0900
commitc30b8ae947e4e0e01df74b07282b27b1b1c70df8 (patch)
tree3ea69f4cc26dee64542b0230aa1fab17a45d1182 /variable.c
parent76c20b06aa16686d047af5cb21300602153e0e46 (diff)
Adjust styles and indents [ci skip]
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 1a4f919c4c..bb53d15f25 100644
--- a/variable.c
+++ b/variable.c
@@ -216,7 +216,8 @@ rb_mod_set_temporary_name(VALUE mod, VALUE name)
if (NIL_P(name)) {
// Set the temporary classpath to NULL (anonymous):
RCLASS_SET_CLASSPATH(mod, 0, FALSE);
- } else {
+ }
+ else {
// Ensure the name is a string:
StringValue(name);