Skip to content
Permalink
Browse files

Consistent usage of the variable nRet instead of nReturncode (#137)

Similar to previous
  • Loading branch information
wimgielis committed Feb 13, 2020
1 parent c44ddf5 commit 8b3456238bf22246f5cb1bef9e27ce32f1d43ee8
Showing with 2 additions and 2 deletions.
  1. +2 −2 main/}bedrock.hier.sub.create.all.pro
@@ -134,7 +134,7 @@ IF( pTemp <> 0 & pTemp <> 1 );
LogOutput( cMsgErrorLevel, Expand( cMsgErrorContent ) );
EndIf;

nReturncode = ExecuteProcess('}bedrock.hier.sub.create',
nRet = ExecuteProcess('}bedrock.hier.sub.create',
'pDim', pDim,
'pHier',pHier,
'pSub', pSub,
@@ -145,7 +145,7 @@ nReturncode = ExecuteProcess('}bedrock.hier.sub.create',
'pTemp', pTemp
);

If(nReturncode <> 0);
If(nRet <> 0);
nErrors = 1;
sMessage = 'Subset create process has errors';
LogOutput( cMsgErrorLevel, Expand( cMsgErrorContent ) );

0 comments on commit 8b34562

Please sign in to comment.
You can’t perform that action at this time.