Skip to content

Update dependency ut-issl/s2e-aobc to v5.0.4 #1028

Update dependency ut-issl/s2e-aobc to v5.0.4

Update dependency ut-issl/s2e-aobc to v5.0.4 #1028

GitHub Actions / clang-tidy -Wextra completed May 29, 2024 in 2s

reviewdog [clang-tidy -Wextra] report

reported by reviewdog 🐶

Findings (100)

/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|637 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:637: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|700 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:700: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|716 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:721: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:704: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/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/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_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|141 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|145 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:145: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/Drivers/Aocs/rw0003.c|67 col 22| unused variable 'RW0003_kReadAddressLimitSpeed1_' [clang-diagnostic-unused-const-variable]
static const uint8_t RW0003_kReadAddressLimitSpeed1_ = 0x33;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c|68 col 22| unused variable 'RW0003_kReadAddressLimitSpeed2_' [clang-diagnostic-unused-const-variable]
static const uint8_t RW0003_kReadAddressLimitSpeed2_ = 0x34;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c|506 col 3| Assigned value is garbage or undefined [clang-analyzer-core.uninitialized.Assign]
uint8_t RW0003_rx_mcf = decoded_rx_data[pos];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Calling 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is >= 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is false. Execution continues on line 561
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:7: note: 'in_frame_length' is equal to 0
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:3: note: Taking true branch
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:29: note: Returning without writing to '*out'
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Returning from 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:7: note: Assuming 'crc16' is not equal to 0
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:3: note: Taking false branch
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:505:3: note: 'pos' initialized to 0
size_t pos = 0;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:506:3: note: Assigned value is garbage or undefined
uint8_t RW0003_rx_mcf = decoded_rx_data[pos];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c|510 col 5| Assigned value is garbage or undefined [clang-analyzer-core.uninitialized.Assign]
uint8_t read_address = decoded_rx_data[pos];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Calling 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is false
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking false branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is false
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking false branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is true
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking true branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:558:7: note: Execution continues on line 561
break;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:7: note: 'in_frame_length' is not equal to 0
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:3: note: Taking false branch
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:565:3: note: Loop condition is true. Entering loop body
for (size_t in_cnt = 0; in_cnt < in_frame_length; in_cnt++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:9: note: Assuming the condition is false
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:5: note: Taking false branch
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:565:3: note: Loop condition is true. Entering loop body
for (size_t in_cnt = 0; in_cnt < in_frame_length; in_cnt++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:9: note: Assuming the condition is true
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:5: note: Taking true branch
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:569:7: note: Taking false branch
if (in[in_cnt + 1] == RW0003_kSlipTfend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:574:12: note: Taking false branch
else if (in[in_cnt + 1] == RW0003_kSlipTfesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Returning from 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:7: note: Assuming 'crc16' is not equal to 0
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:3: note: Taking false branch
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:507:3: note: The value 1 is assigned to 'pos'
pos++;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:508:7: note: Assuming 'RW0003_rx_mcf' is equal to 'RW0003_kMcfReadEdac_'
if (RW0003_rx_mcf == RW0003_kMcfReadEdac_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:508:3: note: Taking true branch
if (RW0003_rx_mcf == RW0003_kMcfReadEdac_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:510:5: note: Assigned value is garbage or undefined
uint8_t read_address = decoded_rx_data[pos];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c|539 col 5| Assigned value is garbage or undefined [clang-analyzer-core.uninitialized.Assign]
uint8_t read_address = decoded_rx_data[pos];
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Calling 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is false
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking false branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is false
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking false branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:22: note: Assuming 'i' is < 'in_length'
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:553:3: note: Loop condition is true. Entering loop body
for (size_t i = 0; i < in_length; i++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:9: note: Assuming the condition is true
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:555:5: note: Taking true branch
if (in[i] == RW0003_kSlipFend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:558:7: note: Execution continues on line 561
break;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:7: note: 'in_frame_length' is not equal to 0
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:561:3: note: Taking false branch
if (in_frame_length == 0) return;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:565:3: note: Loop condition is true. Entering loop body
for (size_t in_cnt = 0; in_cnt < in_frame_length; in_cnt++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:9: note: Assuming the condition is false
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:5: note: Taking false branch
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:565:3: note: Loop condition is true. Entering loop body
for (size_t in_cnt = 0; in_cnt < in_frame_length; in_cnt++)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:9: note: Assuming the condition is true
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:567:5: note: Taking true branch
if (in[in_cnt] == RW0003_kSlipFesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:569:7: note: Taking false branch
if (in[in_cnt + 1] == RW0003_kSlipTfend_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:574:12: note: Taking false branch
else if (in[in_cnt + 1] == RW0003_kSlipTfesc_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:484:3: note: Returning from 'RW0003_decode_slip_'
RW0003_decode_slip_(rx_data, rx_data_length, decoded_rx_data, &decoded_rx_data_length);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:7: note: Assuming 'crc16' is not equal to 0
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:496:3: note: Taking false branch
if (crc16 == 0x0000)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:507:3: note: The value 1 is assigned to 'pos'
pos++;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:508:7: note: Assuming 'RW0003_rx_mcf' is not equal to 'RW0003_kMcfReadEdac_'
if (RW0003_rx_mcf == RW0003_kMcfReadEdac_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:508:3: note: Taking false branch
if (RW0003_rx_mcf == RW0003_kMcfReadEdac_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:537:12: note: Assuming 'RW0003_rx_mcf' is equal to 'RW0003_kMcfDiagnostics_'
else if (RW0003_rx_mcf == RW0003_kMcfDiagnostics_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:537:8: note: Taking true branch
else if (RW0003_rx_mcf == RW0003_kMcfDiagnostics_)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c:539:5: note: Assigned value is garbage or undefined
uint8_t read_address = decoded_rx_data[pos];
^
/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",
^
... (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 637 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#L637

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:637: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:637: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:637:3: note: Value stored to 'param_id' is never read

Check warning on line 700 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#L700

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:700: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:700: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:700:3: note: Value stored to 'param_id' is never read

Check warning on line 716 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#L716

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:721: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:704: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:716: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:721: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:704:3: note: variable 'q_diff' is declared here
  Quaternion q_diff;
  ^

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 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 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 141 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#L141

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:141:13: warning: unused function 'APP_SS_SELECTOR_fusion_' [clang-diagnostic-unused-function]
static void APP_SS_SELECTOR_fusion_(void)
            ^

Check warning on line 145 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#L145

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:145: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:145: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:145: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