Skip to content

Commit f97c39f

Browse files
committed
wrap switch case in curly brackets
1 parent 2b0be34 commit f97c39f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sapi/phpdbg/phpdbg_prompt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ PHPDBG_COMMAND(dl) /* {{{ */
13461346
phpdbg_notice("Modules");
13471347
zend_hash_apply(&module_registry, (apply_func_t) add_module_info);
13481348
} else switch (param->type) {
1349-
case STR_PARAM:
1349+
case STR_PARAM: {
13501350
#ifdef HAVE_LIBDL
13511351
zend_string *path = zend_string_init(param->str, param->len, false);
13521352

@@ -1363,6 +1363,7 @@ PHPDBG_COMMAND(dl) /* {{{ */
13631363
phpdbg_error("Cannot dynamically load %.*s - dynamic modules are not supported", (int) param->len, param->str);
13641364
#endif
13651365
break;
1366+
}
13661367

13671368
phpdbg_default_switch_case();
13681369
}

0 commit comments

Comments
 (0)