SHA256
1
0
forked from pool/icu
icu/icu-number-grouping.diff

25 lines
816 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2018-04-05 01:42:48.090215154 +0200
make the compiler and rpmlint happy
[ 59s] number_grouping.cpp: In static member function 'static icu_61_1::number::impl::Grouper icu_61_1::number::impl::Grouper::forStrategy(UGroupingStrategy)':
[ 59s] number_grouping.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
---
source/i18n/number_grouping.cpp | 1 +
1 file changed, 1 insertion(+)
Index: icu/source/i18n/number_grouping.cpp
===================================================================
--- icu.orig/source/i18n/number_grouping.cpp
+++ icu/source/i18n/number_grouping.cpp
@@ -48,6 +48,7 @@ Grouper Grouper::forStrategy(UGroupingSt
return {3, 3, 1};
default:
U_ASSERT(FALSE);
+ return {};
}
}