From aa3ed457842d937a562eb05f2058a5845c150dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Wed, 9 Jun 2010 21:42:50 +0200
Subject: Fixed windows compilation warnings.


diff --git a/Swift/QtUI/EventViewer/EventDelegate.cpp b/Swift/QtUI/EventViewer/EventDelegate.cpp
index 8bdeb46..334dbd7 100644
--- a/Swift/QtUI/EventViewer/EventDelegate.cpp
+++ b/Swift/QtUI/EventViewer/EventDelegate.cpp
@@ -54,7 +54,7 @@ EventType EventDelegate::getEventType(boost::shared_ptr<StanzaEvent> event) cons
 	if (errorEvent) return ErrorEventType;
 	//I don't know what this is.
 	assert(false);
-
+	return MessageEventType;
 }
 
 }
diff --git a/Swiften/Roster/ContactRosterItem.cpp b/Swiften/Roster/ContactRosterItem.cpp
index a9591a5..1c27395 100644
--- a/Swiften/Roster/ContactRosterItem.cpp
+++ b/Swiften/Roster/ContactRosterItem.cpp
@@ -30,6 +30,7 @@ StatusShow::Type ContactRosterItem::getSimplifiedStatusShow() const {
 		case StatusShow::None: return StatusShow::None; break;
 	}
 	assert(false);
+	return StatusShow::None;
 }
 
 String ContactRosterItem::getStatusText() const {
-- 
cgit v0.10.2-6-g49f6