Skip to content

Commit

Permalink
Fix #180, Remove 'return;' from last line of void functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Sep 28, 2022
1 parent a4dd1ce commit 29d301c
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 @@ -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 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
Expand Down Expand Up @@ -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() */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
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 29d301c

Please sign in to comment.