diff --git a/export_dagmc_cmd/DAGMCExportCommand.cpp b/export_dagmc_cmd/DAGMCExportCommand.cpp index 8abe9c567..f4ec2b7a0 100644 --- a/export_dagmc_cmd/DAGMCExportCommand.cpp +++ b/export_dagmc_cmd/DAGMCExportCommand.cpp @@ -34,7 +34,7 @@ #define CHK_MB_ERR_RET_MB(A,B) if (moab::MB_SUCCESS != (B)) { \ message << (A) << (B) << std::endl; \ - return rval; \ + return (B); \ } DAGMCExportCommand::DAGMCExportCommand() :