summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-27 10:37:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 12:58:43 +0000
commite1a4e44d08cf13ad7dca3d267f54f3bc38476e08 (patch)
tree95f88040b529897593e6ad8eba4ff44c72ea008f /registry
parent3bf6cd8a54239bbb67a98475a7f82eac9447958e (diff)
coverity#1187666 Mixing enum types
they both have the same value, so it doesn't matter much Change-Id: Ic001cd2824248db8577dc69e240c46ec09d023ae
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/regcompare.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx
index 6d22d611f090..bf6ebfa594f0 100644
--- a/registry/tools/regcompare.cxx
+++ b/registry/tools/regcompare.cxx
@@ -467,7 +467,7 @@ static sal_uInt32 checkConstValue(Options_Impl const & options,
{
switch (constValue1.m_type)
{
- case RT_TYPE_INVALID:
+ case RT_TYPE_NONE:
break;
case RT_TYPE_BOOL:
if (constValue1.m_value.aBool != constValue2.m_value.aBool)