Sfoglia il codice sorgente

Merge pull request #1288 from fuhsnn/extra-semi-in-audio

sokol_audio.h: remove extra semicolons
Andre Weissflog 2 mesi fa
parent
commit
4cbc28831d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      sokol_audio.h

+ 2 - 2
sokol_audio.h

@@ -1480,7 +1480,7 @@ error:
         _saudio.backend.device = 0;
     }
     return false;
-};
+}
 
 _SOKOL_PRIVATE void _saudio_alsa_backend_shutdown(void) {
     SOKOL_ASSERT(_saudio.backend.device);
@@ -1489,7 +1489,7 @@ _SOKOL_PRIVATE void _saudio_alsa_backend_shutdown(void) {
     snd_pcm_drain(_saudio.backend.device);
     snd_pcm_close(_saudio.backend.device);
     _saudio_free(_saudio.backend.buffer);
-};
+}
 
 // ██     ██  █████  ███████  █████  ██████  ██
 // ██     ██ ██   ██ ██      ██   ██ ██   ██ ██