Skip to content

Commit

Permalink
One more sorta-fix from Coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
miatauro-NASA committed Nov 10, 2016
1 parent 98547a2 commit 89fa262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PLASMA/NDDL/component/Interpreter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ void getVariableReferences(const Expr* expr, EvalContext& ctx,
checkError(expr != NULL, "Weird. Expression pointer is null.");
debugMsg("getVariableReferences", "Getting refs from " << expr->toString());
if(dynamic_cast<const ExprList*>(expr) != NULL) {
const ExprList* e = dynamic_cast<const ExprList*>(expr);
const ExprList* e = static_cast<const ExprList*>(expr);
for(std::vector<Expr*>::const_iterator it = e->getChildren().begin();
it != e->getChildren().end(); ++it) {
checkError(*it != NULL, "Member of list " << e->toString() << " is NULL.");
Expand Down

0 comments on commit 89fa262

Please sign in to comment.