From 4b3c24d34af63bf06b29de51b5027ea1cbff44d5 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 28 Sep 2022 18:15:51 +1000 Subject: [PATCH] Fix #359, Remove 'return;' from last line of void functions. --- fsw/pc-rtems/src/cfe_psp_exception.c | 1 - unit-test-coverage/modules/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fsw/pc-rtems/src/cfe_psp_exception.c b/fsw/pc-rtems/src/cfe_psp_exception.c index 6c7cb580..e1186d9b 100644 --- a/fsw/pc-rtems/src/cfe_psp_exception.c +++ b/fsw/pc-rtems/src/cfe_psp_exception.c @@ -93,5 +93,4 @@ int32 CFE_PSP_ExceptionGetSummary_Impl(const CFE_PSP_Exception_LogData_t *Buffer */ void CFE_PSP_SetDefaultExceptionEnvironment(void) { - return; } diff --git a/unit-test-coverage/modules/CMakeLists.txt b/unit-test-coverage/modules/CMakeLists.txt index daefcb31..5e712874 100644 --- a/unit-test-coverage/modules/CMakeLists.txt +++ b/unit-test-coverage/modules/CMakeLists.txt @@ -11,7 +11,7 @@ # and it does not depend on having a FSW module by the same name. function(add_psp_covtest MODULE_NAME TESTCASE_SRC UT_SRCS) - # A consistent name convention for all targets generated by this funtion + # A consistent name convention for all targets generated by this function set(TEST_NAME "coverage-pspmod-${MODULE_NAME}") set(OBJECT_TARGET "${TEST_NAME}-object") set(RUNNER_TARGET "${TEST_NAME}-testrunner")