summaryrefslogtreecommitdiffstats
path: root/src/event_to_string.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-29 10:15:16 +0100
committerDavid Robillard <d@drobilla.net>2020-11-29 12:00:37 +0100
commit19b657b9882e53863cbd80964fcea0e1213439bd (patch)
tree8667363aefb833ac3fbc9b234bb53cee0d20f6fa /src/event_to_string.cpp
parentd4d86ae54ebe73ad481f84145002ed8fb425d34f (diff)
downloadpatchage-19b657b9882e53863cbd80964fcea0e1213439bd.tar.gz
patchage-19b657b9882e53863cbd80964fcea0e1213439bd.tar.bz2
patchage-19b657b9882e53863cbd80964fcea0e1213439bd.zip
Fix GCC return type warnings
It would be nice if compilers could agree on how to deal with this.
Diffstat (limited to 'src/event_to_string.cpp')
-rw-r--r--src/event_to_string.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/event_to_string.cpp b/src/event_to_string.cpp
index 503144c..cdfeee4 100644
--- a/src/event_to_string.cpp
+++ b/src/event_to_string.cpp
@@ -43,6 +43,8 @@ struct EventPrinter
case ClientType::alsa:
return "ALSA";
}
+
+ PATCHAGE_UNREACHABLE();
}
std::string operator()(const DriverAttachmentEvent& event)
@@ -80,6 +82,8 @@ struct EventPrinter
case PortType::jack_cv:
return "JACK CV";
}
+
+ PATCHAGE_UNREACHABLE();
}
std::string operator()(const SignalDirection direction)
@@ -92,6 +96,8 @@ struct EventPrinter
case SignalDirection::duplex:
return "duplex";
}
+
+ PATCHAGE_UNREACHABLE();
}
std::string operator()(const PortCreationEvent& event)