mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix false compiler warnings about missing return from non-void function
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <Limelight.h>
|
#include <Limelight.h>
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
class IAudioRenderer
|
class IAudioRenderer
|
||||||
{
|
{
|
||||||
@@ -38,6 +39,8 @@ public:
|
|||||||
return sizeof(short);
|
return sizeof(short);
|
||||||
case IAudioRenderer::AudioFormat::Float32NE:
|
case IAudioRenderer::AudioFormat::Float32NE:
|
||||||
return sizeof(float);
|
return sizeof(float);
|
||||||
|
default:
|
||||||
|
Q_UNREACHABLE();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user