Skip to content

Commit

Permalink
music_ogg.c: no need to zero the callbacks anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 28, 2023
1 parent fe33c67 commit 2bf94b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/codecs/music_ogg.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ static void *OGG_CreateFromRW(SDL_RWops *src, SDL_bool freesrc)
music->volume = MIX_MAX_VOLUME;
music->section = -1;

SDL_zero(callbacks);
callbacks.read_func = sdl_read_func;
callbacks.seek_func = sdl_seek_func;
callbacks.close_func = sdl_close_func;
Expand Down Expand Up @@ -568,4 +567,3 @@ Mix_MusicInterface Mix_MusicInterface_OGG =

#endif /* MUSIC_OGG */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 2bf94b9

Please sign in to comment.