summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/unicode/messagepattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/unicode/messagepattern.h')
-rw-r--r--deps/icu-small/source/common/unicode/messagepattern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/icu-small/source/common/unicode/messagepattern.h b/deps/icu-small/source/common/unicode/messagepattern.h
index f28adafee0..9f2a86551c 100644
--- a/deps/icu-small/source/common/unicode/messagepattern.h
+++ b/deps/icu-small/source/common/unicode/messagepattern.h
@@ -771,8 +771,8 @@ public:
* @stable ICU 4.8
*/
UMessagePatternArgType getArgType() const {
- UMessagePatternPartType type=getType();
- if(type==UMSGPAT_PART_TYPE_ARG_START || type==UMSGPAT_PART_TYPE_ARG_LIMIT) {
+ UMessagePatternPartType msgType=getType();
+ if(msgType ==UMSGPAT_PART_TYPE_ARG_START || msgType ==UMSGPAT_PART_TYPE_ARG_LIMIT) {
return (UMessagePatternArgType)value;
} else {
return UMSGPAT_ARG_TYPE_NONE;