diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-11 15:27:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-11 15:27:09 +0200 |
commit | 8db11c905600d8f71fcdeb7f1849c01f64a49a50 (patch) | |
tree | 4d11ce4ccfa1d0f2ad275d60d9eb4d00e4ecbc1e /idl/source | |
parent | 4e13a6911259d3d7d23b61cb76614263608bbd95 (diff) |
fix dead code warning on Windows
Change-Id: I7b23442b34c7f2dcc2c44c33613fb66e6eb1b14b
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/types.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index f0bf9d6ac50a..eb48cf694cc6 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -52,13 +52,11 @@ const SvIdentifier & SvMetaAttribute::GetSlotId() const bool SvMetaAttribute::Test( SvTokenStream & rInStm ) { - bool bOk = true; if( GetType()->IsItem() && !GetSlotId().IsSet() ) { throw SvParseException( rInStm, "slot without id declared" ); - bOk = false; } - return bOk; + return true; } bool SvMetaAttribute::ReadSvIdl( SvIdlDataBase & rBase, |