[Libreoffice-commits] core.git: idlc/source
Julien Nabet
serval2412 at yahoo.fr
Sat Mar 23 09:31:00 PDT 2013
idlc/source/astexpression.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 0ed451e338d2c211acf5b311860c468e335d6d31
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Mar 23 17:28:48 2013 +0100
coverity#704237 Logically dead code
Change-Id: I7a5087b2ac89ee2839f0e0d8450efc7fca1dd68b
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 61f2d7f..cff33d1 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -1136,8 +1136,6 @@ AstExprValue* AstExpression::eval_symbol(EvalKind ek)
* OK, now evaluate the constant we just got, to produce its value
*/
pConst = static_cast< AstConstant* >(pDecl);
- if (pConst == NULL)
- return NULL;
return pConst->getConstValue()->eval_internal(ek);
}
More information about the Libreoffice-commits
mailing list