From 4afc641fdd8c03bd708f50e0c3691b5de7ea1dba Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 12 Jul 2017 13:35:57 +0200 Subject: nxcomp: Add __attribute__((noreturn)) to more functions where appropriate. --- nxcomp/src/Transport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nxcomp/src/Transport.h') diff --git a/nxcomp/src/Transport.h b/nxcomp/src/Transport.h index 047396af6..4ae0e3c25 100644 --- a/nxcomp/src/Transport.h +++ b/nxcomp/src/Transport.h @@ -413,9 +413,9 @@ class AgentTransport : public Transport // These two should never be called. // - virtual int flush(); + virtual int flush() __attribute__((noreturn)); - virtual int drain(int limit, int timeout); + virtual int drain(int limit, int timeout) __attribute((noreturn)); // // Same as in the base class. -- cgit v1.2.3