diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 21:24:03 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 21:24:25 +0100 |
commit | 56f4d7dc9d0a10dbe0bc2d55fb5fa931453c91db (patch) | |
tree | 5d2a05570034d03369e60473d5fce671775c219d /idlc | |
parent | 1aaf9a9b362188eb706eae2b6b93df35266047d3 (diff) |
Some cppcheck cleaning
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx index 2fd29096a5ee..4002b1395afd 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -153,10 +153,9 @@ static void SAL_CALL predefineXInterface(AstModule* pRoot) static void SAL_CALL initializePredefinedTypes(AstModule* pRoot) { - AstBaseType* pPredefined = NULL; if ( pRoot ) { - pPredefined = new AstBaseType(ET_long, OString("long"), pRoot); + AstBaseType* pPredefined = new AstBaseType(ET_long, OString("long"), pRoot); pRoot->addDeclaration(pPredefined); pPredefined = new AstBaseType(ET_ulong, OString("unsigned long"), pRoot); |