summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-01 14:28:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-01 21:02:05 +0000
commitcbe2c9bdbb5d00bb43121b093a3690da421c6988 (patch)
tree08f807c380b8934d30072782d3b8183fc252faaf /i18npool
parent5d87009cc2d385e61edd06bb5c81ef2106405066 (diff)
coverity#707920 Uninitialized scalar field
and coverity#1250438 Uninitialized scalar field Change-Id: I029e033feb0805a0f744c68d43602217f9f01f6e
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/calendar/calendar_gregorian.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index ee9084433462..df713c14ab40 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -141,6 +141,8 @@ Calendar_gregorian::init(const Era *_eraArray)
{
cCalendar = "com.sun.star.i18n.Calendar_gregorian";
+ fieldSet = 0;
+
// #i102356# With icu::Calendar::createInstance(UErrorCode) in a Thai
// th_TH system locale we accidentally used a Buddhist calendar. Though
// the ICU documentation says that should be the case only for