Skip to content

Commit

Permalink
Merge pull request #181 from thnkslprpt/fix-180-void-returns
Browse files Browse the repository at this point in the history
Fix #180, Remove 'return;' from last line of void functions.
  • Loading branch information
dzbaker committed Oct 3, 2022
2 parents 9e85da8 + 29d301c commit 0e80da5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions fsw/src/sample_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@ void SAMPLE_APP_ProcessCommandPacket(CFE_SB_Buffer_t *SBBufPtr)
"SAMPLE: invalid command packet,MID = 0x%x", (unsigned int)CFE_SB_MsgIdToValue(MsgId));
break;
}

return;

} /* End SAMPLE_APP_ProcessCommandPacket */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
Expand Down Expand Up @@ -279,9 +276,6 @@ void SAMPLE_APP_ProcessGroundCommand(CFE_SB_Buffer_t *SBBufPtr)
"Invalid ground command code: CC = %d", CommandCode);
break;
}

return;

} /* End of SAMPLE_APP_ProcessGroundCommand() */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
Expand Down Expand Up @@ -480,7 +474,4 @@ void SAMPLE_APP_GetCrc(const char *TableName)
Crc = TblInfoPtr.Crc;
CFE_ES_WriteToSysLog("Sample App: CRC: 0x%08lX\n\n", (unsigned long)Crc);
}

return;

} /* End of SAMPLE_APP_GetCrc */

0 comments on commit 0e80da5

Please sign in to comment.