From e1a4e44d08cf13ad7dca3d267f54f3bc38476e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 27 Feb 2014 10:37:12 +0000 Subject: [PATCH] coverity#1187666 Mixing enum types they both have the same value, so it doesn't matter much Change-Id: Ic001cd2824248db8577dc69e240c46ec09d023ae --- registry/tools/regcompare.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)