From 29d301c7cfaaeeaa6dba96bb3a10d47032634972 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 28 Sep 2022 14:43:15 +1000 Subject: [PATCH] Fix #180, Remove 'return;' from last line of void functions. --- fsw/src/sample_app.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fsw/src/sample_app.c b/fsw/src/sample_app.c index 377a8ec..f4a8e89 100644 --- a/fsw/src/sample_app.c +++ b/fsw/src/sample_app.c @@ -227,9 +227,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 */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/ @@ -278,9 +275,6 @@ void SAMPLE_APP_ProcessGroundCommand(CFE_SB_Buffer_t *SBBufPtr) "Invalid ground command code: CC = %d", CommandCode); break; } - - return; - } /* End of SAMPLE_APP_ProcessGroundCommand() */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/ @@ -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 */