diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-03-13 15:29:25 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-04-25 09:42:15 +0100 |
commit | 456634a63ea6f409a5444e4aeeaaef1b7262034d (patch) | |
tree | 3fc80cde71e2268d763ee96623a86239ffd3995b /client | |
parent | 6a8b7585e2051baa911b665ed713835bc65515d6 (diff) |
Mark functions which never return control
* client/red_channel.cpp: AbortTrigger::on_event can't return
given its current impl
* server/red_worker.c: red_worker_main can't return
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'client')
-rw-r--r-- | client/red_channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_channel.cpp b/client/red_channel.cpp index 5523abdb..f5857324 100644 --- a/client/red_channel.cpp +++ b/client/red_channel.cpp @@ -322,7 +322,7 @@ void SendTrigger::on_event() _channel.on_send_trigger(); } -void AbortTrigger::on_event() +SPICE_GNUC_NORETURN void AbortTrigger::on_event() { THROW("abort"); } |