[icinga-checkins] icinga.org: icinga2/master: Fixed compiler warning.

git at icinga.org git at icinga.org
Fri Feb 8 19:45:57 CET 2013


Module: icinga2
Branch: master
Commit: b99068aec68c23619f7c575141383ff73105a9d3
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=b99068aec68c23619f7c575141383ff73105a9d3

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Fri Feb  8 19:45:51 2013 +0100

Fixed compiler warning.

---

 lib/config/typerule.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/config/typerule.cpp b/lib/config/typerule.cpp
index 156c217..bba2355 100644
--- a/lib/config/typerule.cpp
+++ b/lib/config/typerule.cpp
@@ -64,6 +64,8 @@ bool TypeRule::MatchValue(const Value& value) const
 
 		default:
 			assert(!"Type rule has invalid type specifier.");
+
+			return false;
 	}
 }
 





More information about the icinga-checkins mailing list