Skip to content

Commit

Permalink
Merge pull request nasa#826 from skliper/fix822-iterator-mod-in-loop
Browse files Browse the repository at this point in the history
Fix nasa#822, Remove iterator modification in loop
  • Loading branch information
yammajamma authored Aug 26, 2020
2 parents 29b11e5 + 9405d1e commit 474b1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/cfe-core/src/tbl/cfe_tbl_task_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ int32 CFE_TBL_DeleteCDSCmd(const CFE_TBL_DeleteCDS_t *data)
if (strncmp(CFE_TBL_TaskData.CritReg[i].Name, TableName, CFE_TBL_MAX_FULL_NAME_LEN) == 0)
{
CritRegRecPtr = &CFE_TBL_TaskData.CritReg[i];
i=CFE_PLATFORM_TBL_MAX_CRITICAL_TABLES;
break;
}
}

Expand Down

0 comments on commit 474b1a6

Please sign in to comment.