Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update arkedge/workflows-c2a action to v4.5.2 #238

Merged
merged 1 commit into from
Oct 12, 2023

Update arkedge/workflows-c2a action to v4.5.2

3ab5f7d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Update arkedge/workflows-c2a action to v4.5.2 #238

Update arkedge/workflows-c2a action to v4.5.2
3ab5f7d
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clang-tidy -Wextra completed Oct 12, 2023 in 3s

reviewdog [clang-tidy -Wextra] report

reported by reviewdog 🐶

Findings (108)

/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c|282 col 3| Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
exec_log = &divided_cmd_utility_.exec_logs[log_idx];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c:282:3: note: Value stored to 'exec_log' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h|43 col 9| 'GIT_REVISION_C2A_CORE' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE "0000000000000000000000000000000000000000"
^
note: previous definition is here
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h|44 col 9| 'GIT_REVISION_C2A_CORE_SHORT' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE_SHORT 0x0000000
^
note: previous definition is here
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c|642 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:642:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c|705 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:705:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c|721 col 3| variable 'q_diff' is used uninitialized whenever switch default is taken [clang-diagnostic-sometimes-uninitialized]
default:
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:726:55: note: uninitialized use occurs here
Quaternion q_target = QUATERNION_product(q_current, q_diff);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:709:3: note: variable 'q_diff' is declared here
Quaternion q_diff;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c|309 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c:309:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c|226 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c:226:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c|149 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c:149:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorSelectors/sun_sensor_selector.c|131 col 13| unused function 'APP_SS_SELECTOR_fusion_' [clang-diagnostic-unused-function]
static void APP_SS_SELECTOR_fusion_(void)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c|106 col 5| Value stored to 'error' is never read [clang-analyzer-deadcode.DeadStores]
error = TIME_SPACE_trans_eci_to_ecef_rotation_only(ref_gmst_rad, dcm_eci_to_ecef);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c:106:5: note: Value stored to 'error' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c|116 col 3| Value stored to 'read_out_offset' is never read [clang-analyzer-deadcode.DeadStores]
read_out_offset += sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c:116:3: note: Value stored to 'read_out_offset' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c|99 col 5| Value stored to 'q_i2b_spike_filter_setting_result' is never read [clang-analyzer-deadcode.DeadStores]
q_i2b_spike_filter_setting_result = filter_setting_result;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c:99:5: note: Value stored to 'q_i2b_spike_filter_setting_result' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c|112 col 58| The left operand of '' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]
position_eci_m[idx] = (double)position_eci_km[idx] * 1000.0;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:57:3: note: Control jumps to the 'default' case at line 93
switch (orbit_calculator_.method)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:95:5: note: Execution continues on line 99
break;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:7: note: 'ret' is equal to C2A_MATH_ERROR_OK
if (ret != C2A_MATH_ERROR_OK)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:3: note: Taking false branch
if (ret != C2A_MATH_ERROR_OK)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:8: note: 'idx' initialized to 0
for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:3: note: Loop condition is true. Entering loop body
for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:112:58: note: The left operand of '
' is a garbage value
position_eci_m[idx] = (double)position_eci_km[idx] * 1000.0;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c|123 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(double);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c:123:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c|140 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:140:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c|179 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:179:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c|129 col 3| Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
param_id += (int)sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c:129:3: note: Value stored to 'param_id' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c|66 col 3| Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
param_idx += length;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:66:3: note: Value stored to 'param_idx' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c|91 col 3| Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
param_idx += sizeof(uint8_t);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:91:3: note: Value stored to 'param_idx' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c|122 col 3| Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
param_idx += length;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:122:3: note: Value stored to 'param_idx' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c|153 col 3| Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
param_idx += sizeof(uint8_t);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:153:3: note: Value stored to 'param_idx' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c|64 col 3| Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
ret = MOBC_rec(&mobc_driver_);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c:64:3: note: Value stored to 'ret' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c|184 col 3| Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
ret = INA260_enable_over_current_protection(&ina260_driver_[idx]);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c:184:3: note: Value stored to 'ret' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c|322 col 3| Value stored to 'offset' is never read [clang-analyzer-deadcode.DeadStores]
offset += sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c:322:3: note: Value stored to 'offset' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c|352 col 3| Value stored to 'offset' is never read [clang-analyzer-deadcode.DeadStores]
offset += sizeof(float);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c:352:3: note: Value stored to 'offset' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_stim210.c|191 col 3| Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
ret = STIM210_set_service_mode(&(stim210_driver_[STIM210_IDX_IN_UNIT]));
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_stim210.c:191:3: note: Value stored to 'ret' is never read
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c|76 col 3| 2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:61:9: note: Calling 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(r_test_u8, NVM_NORMAL_PARAMS_TEST_UINT8);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:7: note: 'param_id' is < NVM_NORMAL_PARAMS_MAX
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:3: note: Taking false branch
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:3: note: Taking true branch
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:84: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:61:9: note: Returning from 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(r_test_u8, NVM_NORMAL_PARAMS_TEST_UINT8);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:76:3: note: 2nd function call argument is an uninitialized value
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c|76 col 3| 4th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:63:3: note: 'r_test_u16' declared without an initial value
uint16_t r_test_u16;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:64:9: note: Calling 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_u16, NVM_NORMAL_PARAMS_TEST_UINT16);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:7: note: 'param_id' is < NVM_NORMAL_PARAMS_MAX
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:3: note: Taking false branch
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:3: note: Taking true branch
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:84: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:64:9: note: Returning from 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_u16, NVM_NORMAL_PARAMS_TEST_UINT16);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:76:3: note: 4th function call argument is an uninitialized value
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c|76 col 3| 5th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:66:3: note: 'r_test_u32' declared without an initial value
uint32_t r_test_u32;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:67:9: note: Calling 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_u32, NVM_NORMAL_PARAMS_TEST_UINT32);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:7: note: 'param_id' is < NVM_NORMAL_PARAMS_MAX
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:3: note: Taking false branch
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:3: note: Taking true branch
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:84: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:67:9: note: Returning from 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_u32, NVM_NORMAL_PARAMS_TEST_UINT32);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:76:3: note: 5th function call argument is an uninitialized value
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c|76 col 3| 6th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:69:3: note: 'r_test_f' declared without an initial value
float r_test_f;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:70:9: note: Calling 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_f, NVM_NORMAL_PARAMS_TEST_FLOAT);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:7: note: 'param_id' is < NVM_NORMAL_PARAMS_MAX
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:3: note: Taking false branch
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:3: note: Taking true branch
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:84: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:70:9: note: Returning from 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_f, NVM_NORMAL_PARAMS_TEST_FLOAT);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:76:3: note: 6th function call argument is an uninitialized value
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c|76 col 3| 7th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:45:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:48:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:51:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:54:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:57:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:62:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:65:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:68:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:71:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:72:3: note: 'r_test_d' declared without an initial value
double r_test_d;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:73:9: note: Calling 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_d, NVM_NORMAL_PARAMS_TEST_DOUBLE);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:7: note: 'param_id' is < NVM_NORMAL_PARAMS_MAX
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:173:3: note: Taking false branch
if (param_id >= NVM_NORMAL_PARAMS_MAX) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:3: note: Taking true branch
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:174:84: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.normal_params[param_id].registered_flag == 0) return APP_NVM_MANAGER_ERROR_NG_OTHERS;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:73:9: note: Returning from 'APP_NVM_PARAM_read_normal_param'
ret = APP_NVM_PARAM_read_normal_param(&r_test_d, NVM_NORMAL_PARAMS_TEST_DOUBLE);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:74:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Normal Param Test Error: %d \n", ret);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:76:3: note: 7th function call argument is an uninitialized value
Printf("NVM test read data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
... (Too many findings. Dropped some findings)

Filtered Findings (0)

Annotations

Check warning on line 282 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c#L282

Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
  exec_log = &divided_cmd_utility_.exec_logs[log_idx];
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c:282:3: note: Value stored to 'exec_log' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c:282:3: warning: Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
  exec_log = &divided_cmd_utility_.exec_logs[log_idx];
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c:282:3: note: Value stored to 'exec_log' is never read

Check warning on line 43 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h#L43

'GIT_REVISION_C2A_CORE' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE         "0000000000000000000000000000000000000000"
        ^
note: previous definition is here
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/./Library/git_revision.h:43:9: warning: 'GIT_REVISION_C2A_CORE' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE         "0000000000000000000000000000000000000000"
        ^
note: previous definition is here

Check warning on line 44 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h#L44

'GIT_REVISION_C2A_CORE_SHORT' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE_SHORT   0x0000000
        ^
note: previous definition is here
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/./Library/git_revision.h:44:9: warning: 'GIT_REVISION_C2A_CORE_SHORT' macro redefined [clang-diagnostic-macro-redefined]
#define GIT_REVISION_C2A_CORE_SHORT   0x0000000
        ^
note: previous definition is here

Check warning on line 642 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L642

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:642:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:642:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:642:3: note: Value stored to 'param_id' is never read

Check warning on line 705 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L705

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:705:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:705:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:705:3: note: Value stored to 'param_id' is never read

Check warning on line 721 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L721

variable 'q_diff' is used uninitialized whenever switch default is taken [clang-diagnostic-sometimes-uninitialized]
  default:
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:726:55: note: uninitialized use occurs here
  Quaternion q_target = QUATERNION_product(q_current, q_diff);
                                                      ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:709:3: note: variable 'q_diff' is declared here
  Quaternion q_diff;
  ^
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:721:3: warning: variable 'q_diff' is used uninitialized whenever switch default is taken [clang-diagnostic-sometimes-uninitialized]
  default:
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:726:55: note: uninitialized use occurs here
  Quaternion q_target = QUATERNION_product(q_current, q_diff);
                                                      ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c:709:3: note: variable 'q_diff' is declared here
  Quaternion q_diff;
  ^

Check warning on line 309 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c#L309

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c:309:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c:309:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c:309:3: note: Value stored to 'param_id' is never read

Check warning on line 226 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c#L226

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c:226:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c:226:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c:226:3: note: Value stored to 'param_id' is never read

Check warning on line 149 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c#L149

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c:149:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c:149:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c:149:3: note: Value stored to 'param_id' is never read

Check warning on line 131 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorSelectors/sun_sensor_selector.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorSelectors/sun_sensor_selector.c#L131

unused function 'APP_SS_SELECTOR_fusion_' [clang-diagnostic-unused-function]
static void APP_SS_SELECTOR_fusion_(void)
            ^
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorSelectors/sun_sensor_selector.c:131:13: warning: unused function 'APP_SS_SELECTOR_fusion_' [clang-diagnostic-unused-function]
static void APP_SS_SELECTOR_fusion_(void)
            ^

Check warning on line 106 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c#L106

Value stored to 'error' is never read [clang-analyzer-deadcode.DeadStores]
    error = TIME_SPACE_trans_eci_to_ecef_rotation_only(ref_gmst_rad, dcm_eci_to_ecef);
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c:106:5: note: Value stored to 'error' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c:106:5: warning: Value stored to 'error' is never read [clang-analyzer-deadcode.DeadStores]
    error = TIME_SPACE_trans_eci_to_ecef_rotation_only(ref_gmst_rad, dcm_eci_to_ecef);
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c:106:5: note: Value stored to 'error' is never read

Check warning on line 116 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c#L116

Value stored to 'read_out_offset' is never read [clang-analyzer-deadcode.DeadStores]
  read_out_offset += sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c:116:3: note: Value stored to 'read_out_offset' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c:116:3: warning: Value stored to 'read_out_offset' is never read [clang-analyzer-deadcode.DeadStores]
  read_out_offset += sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c:116:3: note: Value stored to 'read_out_offset' is never read

Check warning on line 99 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c#L99

Value stored to 'q_i2b_spike_filter_setting_result' is never read [clang-analyzer-deadcode.DeadStores]
    q_i2b_spike_filter_setting_result = filter_setting_result;
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c:99:5: note: Value stored to 'q_i2b_spike_filter_setting_result' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c:99:5: warning: Value stored to 'q_i2b_spike_filter_setting_result' is never read [clang-analyzer-deadcode.DeadStores]
    q_i2b_spike_filter_setting_result = filter_setting_result;
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c:99:5: note: Value stored to 'q_i2b_spike_filter_setting_result' is never read

Check warning on line 112 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c#L112

The left operand of '*' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]
    position_eci_m[idx]   = (double)position_eci_km[idx] * 1000.0;
                                                         ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:57:3: note: Control jumps to the 'default' case at line 93
  switch (orbit_calculator_.method)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:95:5: note:  Execution continues on line 99
    break;
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:7: note: 'ret' is equal to C2A_MATH_ERROR_OK
  if (ret != C2A_MATH_ERROR_OK)
      ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:3: note: Taking false branch
  if (ret != C2A_MATH_ERROR_OK)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:8: note: 'idx' initialized to 0
  for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
       ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:3: note: Loop condition is true.  Entering loop body
  for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:112:58: note: The left operand of '*' is a garbage value
    position_eci_m[idx]   = (double)position_eci_km[idx] * 1000.0;
                                                         ^
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:112:58: warning: The left operand of '*' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]
    position_eci_m[idx]   = (double)position_eci_km[idx] * 1000.0;
                                                         ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:57:3: note: Control jumps to the 'default' case at line 93
  switch (orbit_calculator_.method)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:95:5: note:  Execution continues on line 99
    break;
    ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:7: note: 'ret' is equal to C2A_MATH_ERROR_OK
  if (ret != C2A_MATH_ERROR_OK)
      ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:99:3: note: Taking false branch
  if (ret != C2A_MATH_ERROR_OK)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:8: note: 'idx' initialized to 0
  for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
       ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:110:3: note: Loop condition is true.  Entering loop body
  for (int idx = 0; idx < PHYSICAL_CONST_THREE_DIM; idx++)
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c:112:58: note: The left operand of '*' is a garbage value
    position_eci_m[idx]   = (double)position_eci_km[idx] * 1000.0;
                                                         ^

Check warning on line 123 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c#L123

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(double);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c:123:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c:123:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(double);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c:123:3: note: Value stored to 'param_id' is never read

Check warning on line 140 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c#L140

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:140:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:140:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:140:3: note: Value stored to 'param_id' is never read

Check warning on line 179 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c#L179

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:179:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:179:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c:179:3: note: Value stored to 'param_id' is never read

Check warning on line 129 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c#L129

Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c:129:3: note: Value stored to 'param_id' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c:129:3: warning: Value stored to 'param_id' is never read [clang-analyzer-deadcode.DeadStores]
  param_id += (int)sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c:129:3: note: Value stored to 'param_id' is never read

Check warning on line 66 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c#L66

Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += length;
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:66:3: note: Value stored to 'param_idx' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:66:3: warning: Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += length;
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:66:3: note: Value stored to 'param_idx' is never read

Check warning on line 91 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c#L91

Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += sizeof(uint8_t);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:91:3: note: Value stored to 'param_idx' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:91:3: warning: Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += sizeof(uint8_t);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c:91:3: note: Value stored to 'param_idx' is never read

Check warning on line 122 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c#L122

Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += length;
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:122:3: note: Value stored to 'param_idx' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:122:3: warning: Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += length;
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:122:3: note: Value stored to 'param_idx' is never read

Check warning on line 153 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c#L153

Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += sizeof(uint8_t);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:153:3: note: Value stored to 'param_idx' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:153:3: warning: Value stored to 'param_idx' is never read [clang-analyzer-deadcode.DeadStores]
  param_idx += sizeof(uint8_t);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c:153:3: note: Value stored to 'param_idx' is never read

Check warning on line 64 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c#L64

Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
  ret = MOBC_rec(&mobc_driver_);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c:64:3: note: Value stored to 'ret' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c:64:3: warning: Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
  ret = MOBC_rec(&mobc_driver_);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c:64:3: note: Value stored to 'ret' is never read

Check warning on line 184 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c#L184

Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
  ret = INA260_enable_over_current_protection(&ina260_driver_[idx]);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c:184:3: note: Value stored to 'ret' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c:184:3: warning: Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]
  ret = INA260_enable_over_current_protection(&ina260_driver_[idx]);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c:184:3: note: Value stored to 'ret' is never read

Check warning on line 322 in /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c#L322

Value stored to 'offset' is never read [clang-analyzer-deadcode.DeadStores]
  offset += sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c:322:3: note: Value stored to 'offset' is never read
Raw output
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c:322:3: warning: Value stored to 'offset' is never read [clang-analyzer-deadcode.DeadStores]
  offset += sizeof(float);
  ^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c:322:3: note: Value stored to 'offset' is never read