Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #78, Split up multiple-variable declaration statements #79

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fsw/src/sc_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ CFE_Status_t SC_RegisterDumpOnlyTables(void)

CFE_Status_t SC_RegisterLoadableTables(void)
{
int i, j;
int i;
int j;
CFE_Status_t Result;
char TableName[CFE_MISSION_TBL_MAX_NAME_LENGTH];

Expand Down
12 changes: 8 additions & 4 deletions unit-test/sc_loads_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ void SC_LoadAts_Test_CmdRunOffEndOfBuffer(void)
size_t MsgSize;
int BufEntrySize;
int MaxBufEntries;
int i, j;
int i;
int j;

memset(&AtsInfoTbl, 0, sizeof(AtsInfoTbl));

Expand Down Expand Up @@ -348,7 +349,8 @@ void SC_LoadAts_Test_AtsBufferTooSmall(void)
size_t MsgSize2;
int BufEntrySize;
int MaxBufEntries;
int i, j;
int i;
int j;

memset(&AtsInfoTbl, 0, sizeof(AtsInfoTbl));

Expand Down Expand Up @@ -417,7 +419,8 @@ void SC_LoadAts_Test_AtsEntryOverflow(void)
size_t MsgSize2;
int BufEntrySize;
int MaxBufEntries;
int i, j;
int i;
int j;

memset(&AtsInfoTbl, 0, sizeof(AtsInfoTbl));
memset(&AtsTable, 0, sizeof(AtsTable));
Expand Down Expand Up @@ -477,7 +480,8 @@ void SC_LoadAts_Test_LoadExactlyBufferLength(void)
size_t MsgSize2;
int BufEntrySize;
int MaxBufEntries;
int i, j;
int i;
int j;

SC_InitTables();

Expand Down