mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-24 12:13:03 +00:00
Fix false compiler warnings about missing return from non-void function
This commit is contained in:
parent
9e92c07cb7
commit
ff332d45f8
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <Limelight.h>
|
||||
#include <QtGlobal>
|
||||
|
||||
class IAudioRenderer
|
||||
{
|
||||
|
@ -38,6 +39,8 @@ public:
|
|||
return sizeof(short);
|
||||
case IAudioRenderer::AudioFormat::Float32NE:
|
||||
return sizeof(float);
|
||||
default:
|
||||
Q_UNREACHABLE();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue