From 44e9129af54fa9b11d7acf0f913f596ddd58745d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 9 Nov 2016 10:05:03 +0100 Subject: [PATCH] Remove unused semicolons after end of function [ci skip] --- src/audio/mixer.h | 6 +++--- src/core/Guard.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audio/mixer.h b/src/audio/mixer.h index 947ef1de5b..c52b3608b4 100644 --- a/src/audio/mixer.h +++ b/src/audio/mixer.h @@ -210,9 +210,9 @@ void Mixer_Channel_SetGroup(void* channel, int group); void* Mixer_Play_Music(int pathId, int loop, int streaming); void Mixer_SetVolume(float volume); -static int DStoMixerVolume(int volume) { return (int)(SDL_MIX_MAXVOLUME * (SDL_pow(10, (float)volume / 2000))); }; -static float DStoMixerPan(int pan) { return (((float)pan + -DSBPAN_LEFT) / DSBPAN_RIGHT) / 2; }; -static double DStoMixerRate(int frequency) { return (double)frequency / 22050; }; +static int DStoMixerVolume(int volume) { return (int)(SDL_MIX_MAXVOLUME * (SDL_pow(10, (float)volume / 2000))); } +static float DStoMixerPan(int pan) { return (((float)pan + -DSBPAN_LEFT) / DSBPAN_RIGHT) / 2; } +static double DStoMixerRate(int frequency) { return (double)frequency / 22050; } #ifdef __cplusplus } diff --git a/src/core/Guard.hpp b/src/core/Guard.hpp index 8daf25f6e0..905e5ccf8e 100644 --- a/src/core/Guard.hpp +++ b/src/core/Guard.hpp @@ -54,7 +54,7 @@ namespace Guard Assert(argument >= min && argument <= max, message, args); va_end(args); } -}; +} #define GUARD_LINE "Location: %s:%d", __func__, __LINE__