@@ -137,7 +137,7 @@ int testKeysMismatchError(RedisModuleCtx *ctx) {
137137 RAI_Tensor * t = (RAI_Tensor * )_getFromKeySpace (ctx , "a{1}" );
138138 RedisAI_DAGLoadTensor (run_info , "input" , t );
139139
140- RedisAI_DAGAddTensorGet (run_info , "non existing tensor" , err );
140+ RedisAI_DAGAddTensorGet (run_info , "non existing tensor" );
141141 int status = RedisAI_DAGRun (run_info , _DAGFinishFuncError , NULL , err );
142142 if (!_assertError (err , status , "ERR INPUT key cannot be found in DAG" )) {
143143 goto cleanup ;
@@ -183,7 +183,7 @@ int testBuildDAGFromString(RedisModuleCtx *ctx) {
183183 goto cleanup ;
184184 }
185185 RedisModule_Assert (RedisAI_DAGNumOps (run_info ) == 3 );
186- RedisAI_DAGAddTensorGet (run_info , "input1" , results . error );
186+ RedisAI_DAGAddTensorGet (run_info , "input1" );
187187 RedisModule_Assert (RedisAI_DAGNumOps (run_info ) == 4 );
188188
189189 pthread_mutex_lock (& global_lock );
@@ -227,7 +227,7 @@ int testSimpleDAGRun(RedisModuleCtx *ctx) {
227227 goto cleanup ;
228228 }
229229
230- RedisAI_DAGAddTensorGet (run_info , "output" , results . error );
230+ RedisAI_DAGAddTensorGet (run_info , "output" );
231231 pthread_mutex_lock (& global_lock );
232232 if (RedisAI_DAGRun (run_info , _DAGFinishFunc , & results , results .error ) != REDISMODULE_OK ) {
233233 pthread_mutex_unlock (& global_lock );
@@ -280,7 +280,7 @@ int testSimpleDAGRun2(RedisModuleCtx *ctx) {
280280 goto cleanup ;
281281 }
282282
283- RedisAI_DAGAddTensorGet (run_info , "output" , results . error );
283+ RedisAI_DAGAddTensorGet (run_info , "output" );
284284 pthread_mutex_lock (& global_lock );
285285 if (RedisAI_DAGRun (run_info , _DAGFinishFunc , & results , results .error ) != REDISMODULE_OK ) {
286286 pthread_mutex_unlock (& global_lock );
@@ -330,7 +330,7 @@ int testSimpleDAGRun2Error(RedisModuleCtx *ctx) {
330330 goto cleanup ;
331331 }
332332
333- RedisAI_DAGAddTensorGet (run_info , "output" , results . error );
333+ RedisAI_DAGAddTensorGet (run_info , "output" );
334334 pthread_mutex_lock (& global_lock );
335335 if (RedisAI_DAGRun (run_info , _DAGFinishFunc , & results , results .error ) != REDISMODULE_OK ) {
336336 pthread_mutex_unlock (& global_lock );
@@ -392,7 +392,7 @@ int testDAGResnet(RedisModuleCtx *ctx) {
392392 RedisAI_DAGRunOpAddOutput (script_op , "output:{{1}}" );
393393 RedisAI_DAGAddRunOp (run_info , script_op , results .error );
394394
395- RedisAI_DAGAddTensorGet (run_info , "output:{{1}}" , results . error );
395+ RedisAI_DAGAddTensorGet (run_info , "output:{{1}}" );
396396
397397 pthread_mutex_lock (& global_lock );
398398 if (RedisAI_DAGRun (run_info , _DAGFinishFunc , & results , results .error ) != REDISMODULE_OK ) {
0 commit comments