Skip to content

Commit

Permalink
Merge pull request #121 from thnkslprpt/fix-120-return-parentheses
Browse files Browse the repository at this point in the history
Fix #120, Remove unnecessary parentheses around return values.
  • Loading branch information
dzbaker committed Oct 3, 2022
2 parents 0d1e430 + 62cbb84 commit be616d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fsw/src/sch_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int32 SCH_LAB_AppInit(void)
{
CFE_ES_WriteToSysLog("SCH_LAB: Error Registering SCH_LAB_SchTbl, RC = 0x%08lX\n", (unsigned long)Status);

return (Status);
return Status;
}
else
{
Expand All @@ -212,7 +212,7 @@ int32 SCH_LAB_AppInit(void)
CFE_ES_WriteToSysLog("SCH_LAB: Error Loading Table SCH_LAB_SchTbl, RC = 0x%08lX\n", (unsigned long)Status);
CFE_TBL_ReleaseAddress(SCH_LAB_Global.TblHandle);

return (Status);
return Status;
}
}

Expand All @@ -225,7 +225,7 @@ int32 SCH_LAB_AppInit(void)
CFE_ES_WriteToSysLog("SCH_LAB: Error Getting Table's Address SCH_LAB_SchTbl, RC = 0x%08lX\n",
(unsigned long)Status);

return (Status);
return Status;
}

/*
Expand Down Expand Up @@ -294,6 +294,6 @@ int32 SCH_LAB_AppInit(void)

OS_printf("SCH Lab Initialized.%s\n", SCH_LAB_VERSION_STRING);

return (CFE_SUCCESS);
return CFE_SUCCESS;

} /*End of AppInit*/

0 comments on commit be616d0

Please sign in to comment.