Remove some extra semicolons including a bypass of conditional if instruction.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit e8ad2c11ae)
v3.5.13-sru
gregory guy 4 years ago committed by Slávek Banko
parent 02121c34f2
commit fdd8c4f92f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -39,7 +39,7 @@ list<string> SinkPluginHandler::listSinkPlugins() {
SinkPluginHandler::SinkPluginHandler(const string lib) : sink_plugin(0)
{
if (lib.size() > 0);
if (lib.size() > 0)
load(lib);
}

@ -35,7 +35,7 @@
namespace aKode {
extern "C" { PulseSinkPlugin pulse_sink; };
extern "C" { PulseSinkPlugin pulse_sink; }
struct PulseSink::private_data
{

@ -32,9 +32,9 @@ SRCResampler* SRCResamplerPlugin::openResampler() {
return new SRCResampler();
}
extern "C" { SRCResamplerPlugin src_resampler; };
extern "C" { SRCResamplerPlugin src_resampler; }
SRCResampler::SRCResampler() : speed(1.0), sample_rate(44100) {};
SRCResampler::SRCResampler() : speed(1.0), sample_rate(44100) {}
template<typename S>
static void _convert1_FP(AudioFrame *in, float* outdata)

@ -53,9 +53,9 @@ bool SpeexDecoderPlugin::canDecode(File* src) {
if (memcmp(header+28, "Speex ",8) == 0) res = true;
src->close();
return res;
};
}
extern "C" { SpeexDecoderPlugin speex_decoder; };
extern "C" { SpeexDecoderPlugin speex_decoder; }
struct SpeexDecoder::private_data
{
@ -107,7 +107,7 @@ SpeexDecoder::SpeexDecoder(File *src) {
src->openRO();
src->fadvise();
};
}
SpeexDecoder::~SpeexDecoder() {
if (m_data->initialized) {

Loading…
Cancel
Save