Remove never-executed else-block
And the always-tru if-check Change-Id: I674d65506e1791fadab7d2871010528fd5dd94d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88816 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
1d219e5097
commit
ce6434c44a
1 changed files with 1 additions and 5 deletions
|
@ -112,15 +112,11 @@ public __gc class BridgeTest : public WeakBase, public XMain
|
|||
Any a2 = (Any) val2;
|
||||
ret = a1.Type == a2.Type && compareData(a1.Value, a2.Value);
|
||||
}
|
||||
else if (t1->IsValueType)
|
||||
else
|
||||
{
|
||||
//Any, enum, int, bool char, float, double etc.
|
||||
ret = val1->Equals(val2);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug::Assert(false);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue