From 19b657b9882e53863cbd80964fcea0e1213439bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Nov 2020 10:15:16 +0100 Subject: Fix GCC return type warnings It would be nice if compilers could agree on how to deal with this. --- src/PortID.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/PortID.hpp') diff --git a/src/PortID.hpp b/src/PortID.hpp index e399220..d92f08e 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -19,6 +19,7 @@ #include "ClientID.hpp" #include "ClientType.hpp" +#include "warnings.hpp" #include #include @@ -68,6 +69,8 @@ struct PortID case Type::alsa: return ClientID::alsa(_alsa_client); } + + PATCHAGE_UNREACHABLE(); } Type type() const { return _type; } -- cgit v1.2.1