diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-06-07 09:06:37 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-06-07 09:06:37 +0900 |
| commit | 32e96a1d4a0741ee050fd45031260a1dc0fbe9f3 (patch) | |
| tree | 0f7f7556e6c4b0c8f9e265fc98fa632965d64961 | |
| parent | 0afa651363c0b22f238c7442e84926e4e3f10574 (diff) | |
| download | mruby-32e96a1d4a0741ee050fd45031260a1dc0fbe9f3.tar.gz mruby-32e96a1d4a0741ee050fd45031260a1dc0fbe9f3.zip | |
pack.c: add `default` to `switch` statement to silence warnings.
| -rw-r--r-- | mrbgems/mruby-pack/src/pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/mruby-pack/src/pack.c b/mrbgems/mruby-pack/src/pack.c index c8e0746d5..d2dcfe743 100644 --- a/mrbgems/mruby-pack/src/pack.c +++ b/mrbgems/mruby-pack/src/pack.c @@ -1430,6 +1430,8 @@ pack_unpack(mrb_state *mrb, mrb_value str, int single) case PACK_DIR_QENC: srcidx += unpack_M(mrb, sptr, srclen - srcidx, result, flags); break; + default: + break; } continue; } |
