music_ogg.c: minor warning fix for extra semicolons
authorOzkan Sezer
Wed, 18 Dec 2019 15:51:56 +0300
changeset 10950bb640cdd4ed
parent 1094 34c7e301904d
child 1096 5ad7d1e1ddaa
music_ogg.c: minor warning fix for extra semicolons
src/codecs/music_ogg.c
     1.1 --- a/src/codecs/music_ogg.c	Wed Dec 18 15:51:40 2019 +0300
     1.2 +++ b/src/codecs/music_ogg.c	Wed Dec 18 15:51:56 2019 +0300
     1.3 @@ -144,22 +144,22 @@
     1.4  
     1.5  static int set_ov_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(OV_FALSE);
    1.11 -    HANDLE_ERROR_CASE(OV_EOF);
    1.12 -    HANDLE_ERROR_CASE(OV_HOLE);
    1.13 -    HANDLE_ERROR_CASE(OV_EREAD);
    1.14 -    HANDLE_ERROR_CASE(OV_EFAULT);
    1.15 -    HANDLE_ERROR_CASE(OV_EIMPL);
    1.16 -    HANDLE_ERROR_CASE(OV_EINVAL);
    1.17 -    HANDLE_ERROR_CASE(OV_ENOTVORBIS);
    1.18 -    HANDLE_ERROR_CASE(OV_EBADHEADER);
    1.19 -    HANDLE_ERROR_CASE(OV_EVERSION);
    1.20 -    HANDLE_ERROR_CASE(OV_ENOTAUDIO);
    1.21 -    HANDLE_ERROR_CASE(OV_EBADPACKET);
    1.22 -    HANDLE_ERROR_CASE(OV_EBADLINK);
    1.23 -    HANDLE_ERROR_CASE(OV_ENOSEEK);
    1.24 +    HANDLE_ERROR_CASE(OV_FALSE)
    1.25 +    HANDLE_ERROR_CASE(OV_EOF)
    1.26 +    HANDLE_ERROR_CASE(OV_HOLE)
    1.27 +    HANDLE_ERROR_CASE(OV_EREAD)
    1.28 +    HANDLE_ERROR_CASE(OV_EFAULT)
    1.29 +    HANDLE_ERROR_CASE(OV_EIMPL)
    1.30 +    HANDLE_ERROR_CASE(OV_EINVAL)
    1.31 +    HANDLE_ERROR_CASE(OV_ENOTVORBIS)
    1.32 +    HANDLE_ERROR_CASE(OV_EBADHEADER)
    1.33 +    HANDLE_ERROR_CASE(OV_EVERSION)
    1.34 +    HANDLE_ERROR_CASE(OV_ENOTAUDIO)
    1.35 +    HANDLE_ERROR_CASE(OV_EBADPACKET)
    1.36 +    HANDLE_ERROR_CASE(OV_EBADLINK)
    1.37 +    HANDLE_ERROR_CASE(OV_ENOSEEK)
    1.38      default:
    1.39          Mix_SetError("%s: unknown error %d\n", function, error);
    1.40          break;