music_opus.c: minor warning fix for extra semicolons
authorVitaly Novichkov
Fri, 20 Dec 2019 18:55:02 +0300
changeset 11061ae143a129dc
parent 1105 fabc6a1bc76c
child 1107 697ca24499fb
music_opus.c: minor warning fix for extra semicolons
src/codecs/music_opus.c
     1.1 --- a/src/codecs/music_opus.c	Fri Dec 20 18:55:02 2019 +0300
     1.2 +++ b/src/codecs/music_opus.c	Fri Dec 20 18:55:02 2019 +0300
     1.3 @@ -126,23 +126,23 @@
     1.4  
     1.5  static int set_op_error(const char *function, int error)
     1.6  {
     1.7 -#define HANDLE_ERROR_CASE(X)    case X: Mix_SetError("%s: %s", function, #X); break;
     1.8 +#define HANDLE_ERROR_CASE(X) case X: Mix_SetError("%s: %s", function, #X); break;
     1.9      switch (error) {
    1.10 -    HANDLE_ERROR_CASE(OP_FALSE);
    1.11 -    HANDLE_ERROR_CASE(OP_EOF);
    1.12 -    HANDLE_ERROR_CASE(OP_HOLE);
    1.13 -    HANDLE_ERROR_CASE(OP_EREAD);
    1.14 -    HANDLE_ERROR_CASE(OP_EFAULT);
    1.15 -    HANDLE_ERROR_CASE(OP_EIMPL);
    1.16 -    HANDLE_ERROR_CASE(OP_EINVAL);
    1.17 -    HANDLE_ERROR_CASE(OP_ENOTFORMAT);
    1.18 -    HANDLE_ERROR_CASE(OP_EBADHEADER);
    1.19 -    HANDLE_ERROR_CASE(OP_EVERSION);
    1.20 -    HANDLE_ERROR_CASE(OP_ENOTAUDIO);
    1.21 -    HANDLE_ERROR_CASE(OP_EBADPACKET);
    1.22 -    HANDLE_ERROR_CASE(OP_EBADLINK);
    1.23 -    HANDLE_ERROR_CASE(OP_ENOSEEK);
    1.24 -    HANDLE_ERROR_CASE(OP_EBADTIMESTAMP);
    1.25 +    HANDLE_ERROR_CASE(OP_FALSE)
    1.26 +    HANDLE_ERROR_CASE(OP_EOF)
    1.27 +    HANDLE_ERROR_CASE(OP_HOLE)
    1.28 +    HANDLE_ERROR_CASE(OP_EREAD)
    1.29 +    HANDLE_ERROR_CASE(OP_EFAULT)
    1.30 +    HANDLE_ERROR_CASE(OP_EIMPL)
    1.31 +    HANDLE_ERROR_CASE(OP_EINVAL)
    1.32 +    HANDLE_ERROR_CASE(OP_ENOTFORMAT)
    1.33 +    HANDLE_ERROR_CASE(OP_EBADHEADER)
    1.34 +    HANDLE_ERROR_CASE(OP_EVERSION)
    1.35 +    HANDLE_ERROR_CASE(OP_ENOTAUDIO)
    1.36 +    HANDLE_ERROR_CASE(OP_EBADPACKET)
    1.37 +    HANDLE_ERROR_CASE(OP_EBADLINK)
    1.38 +    HANDLE_ERROR_CASE(OP_ENOSEEK)
    1.39 +    HANDLE_ERROR_CASE(OP_EBADTIMESTAMP)
    1.40      default:
    1.41          Mix_SetError("%s: unknown error %d\n", function, error);
    1.42          break;