diff options
| author | Remko Tronçon <git@el-tramo.be> | 2012-12-30 16:47:37 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2012-12-30 18:03:54 (GMT) | 
| commit | 96b31c598f5c229c3acc0579ddfe22dd503e2b9d (patch) | |
| tree | d73db22e591e49f088f359b9876df232eb99c6a9 /Swift/Controllers/StatusUtil.cpp | |
| parent | b19210aa48e7cea40929593daed997668fe789be (diff) | |
| download | swift-contrib-96b31c598f5c229c3acc0579ddfe22dd503e2b9d.zip swift-contrib-96b31c598f5c229c3acc0579ddfe22dd503e2b9d.tar.bz2 | |
Enable & fix pedantic CLang warnings.
Change-Id: I70109624b4bd7aab9ba679a3eaabc225dd64a03a
Diffstat (limited to 'Swift/Controllers/StatusUtil.cpp')
| -rw-r--r-- | Swift/Controllers/StatusUtil.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Swift/Controllers/StatusUtil.cpp b/Swift/Controllers/StatusUtil.cpp index fd1fea3..a72f340 100644 --- a/Swift/Controllers/StatusUtil.cpp +++ b/Swift/Controllers/StatusUtil.cpp @@ -6,6 +6,7 @@  #include <Swift/Controllers/StatusUtil.h> +#include <cassert>  #include <Swift/Controllers/Intl.h>  namespace Swift { @@ -19,6 +20,7 @@ std::string statusShowTypeToFriendlyName(StatusShow::Type type) {  		case StatusShow::DND: return QT_TRANSLATE_NOOP("", "Busy");  		case StatusShow::None: return QT_TRANSLATE_NOOP("", "Offline");  	} +	assert(false);  	return "";  } | 
 Swift
 Swift