diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-07-26 22:07:28 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-07-26 22:07:28 +0900 |
| commit | abafb662ea7daff351a2aba1e145ae5df1664e82 (patch) | |
| tree | 806d5d8c2300c3282e19a8916cb2639aab55dc2d /namespace.c | |
| parent | fb6f2550280c62fa3ac74f9abad4398529d5f0e2 (diff) | |
Adjust indents [ci skip]
Diffstat (limited to 'namespace.c')
| -rw-r--r-- | namespace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/namespace.c b/namespace.c index dd7d21c380..e667590890 100644 --- a/namespace.c +++ b/namespace.c @@ -596,15 +596,15 @@ static const char * copy_ext_file_error(char *message, size_t size, int copy_retvalue, char *src_path, char *dst_path) { switch (copy_retvalue) { - case 1: + case 1: snprintf(message, size, "can't open the extension path: %s", src_path); - case 2: + case 2: snprintf(message, size, "can't open the file to write: %s", dst_path); - case 3: + case 3: snprintf(message, size, "failed to read the extension path: %s", src_path); - case 4: + case 4: snprintf(message, size, "failed to write the extension path: %s", dst_path); - default: + default: rb_bug("unknown return value of copy_ext_file: %d", copy_retvalue); } return message; |
