changeset 74:19d8825ec501

Add define for code that can never be reached. To avoid the line being counted.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Sat, 16 Feb 2013 15:26:27 +0100
parents c9447697609f
children aaf0a2878f67
files Exception/Exception.hpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Exception/Exception.hpp	Thu Jan 31 20:33:01 2013 +0100
+++ b/Exception/Exception.hpp	Sat Feb 16 15:26:27 2013 +0100
@@ -2,6 +2,7 @@
 #define EXCEPTION_HPP
 
 #define NORETURN __attribute__ ((noreturn))
+#define UNREACHABLE() abort()
 
 #include <QtCore/QString>