Update actions/checkout action to v4.2.2 #181
Annotations
102 warnings
actionlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
actionlint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Applications/divided_cmd_utility.c#L282:
build/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 = ÷d_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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h#L43:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_core/Library/git_revision.h#L44:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L637:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L700:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/aocs_manager.c#L716:
build/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;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_mtq.c#L226:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/sun_pointing.c#L309:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/AttitudeControl/three_axis_control_rw.c#L149:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorSelectors/sun_sensor_selector.c#L141:
build/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)
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/oem7600_filter.c#L145:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/rw0003_filter.c#L116:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/HardwareDependent/SensorFilters/sagitta_filter.c#L99:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/orbit_calculator.c#L112:
build/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;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/kepler_orbit_propagator.c#L123:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c#L140:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/OrbitEstimation/sgp4_orbit_propagator.c#L179:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/AOCS/InertialReference/time_space_calculator.c#L129:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c#L66:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_manager.c#L91:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c#L122:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_partition.c#L153:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mobc.c#L64:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_ina260.c#L184:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c#L322:
build/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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c#L352:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_mpu9250.c#L352
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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_stim210.c#L191:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/DriverInstances/di_stim210.c#L191
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
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L67:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L67
unused variable 'RW0003_kReadAddressLimitSpeed1_' [clang-diagnostic-unused-const-variable]
static const uint8_t RW0003_kReadAddressLimitSpeed1_ = 0x33;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L68:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L68
unused variable 'RW0003_kReadAddressLimitSpeed2_' [clang-diagnostic-unused-const-variable]
static const uint8_t RW0003_kReadAddressLimitSpeed2_ = 0x34;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L506:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L506
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];
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L510:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L510
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];
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L539:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/rw0003.c#L539
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];
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76
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",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76
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",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76
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",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76
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",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L76
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",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113
2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read redundant 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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:98:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(r_red_test_u8, NVM_REDUNDANT_PARAMS_TEST_UINT8);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking true branch
if (non_volatile_memory_parameter_.redundant_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:246:87: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.redundant_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:98:9: note: Returning from 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(r_red_test_u8, NVM_REDUNDANT_PARAMS_TEST_UINT8);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:99:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:113:3: note: 2nd function call argument is an uninitialized value
Printf("NVM test read redundant data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113
4th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read redundant 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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:100:3: note: 'r_red_test_u16' declared without an initial value
uint16_t r_red_test_u16;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:101:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_u16, NVM_REDUNDANT_PARAMS_TEST_UINT16);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking true branch
if (non_volatile_memory_parameter_.redundant_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:246:87: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.redundant_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:101:9: note: Returning from 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_u16, NVM_REDUNDANT_PARAMS_TEST_UINT16);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:102:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:113:3: note: 4th function call argument is an uninitialized value
Printf("NVM test read redundant data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113
5th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read redundant 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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:103:3: note: 'r_red_test_u32' declared without an initial value
uint32_t r_red_test_u32;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:104:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_u32, NVM_REDUNDANT_PARAMS_TEST_UINT32);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking true branch
if (non_volatile_memory_parameter_.redundant_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:246:87: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.redundant_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:104:9: note: Returning from 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_u32, NVM_REDUNDANT_PARAMS_TEST_UINT32);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:105:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:113:3: note: 5th function call argument is an uninitialized value
Printf("NVM test read redundant data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113
6th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read redundant 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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:106:3: note: 'r_red_test_f' declared without an initial value
float r_red_test_f;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:107:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_f, NVM_REDUNDANT_PARAMS_TEST_FLOAT);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking true branch
if (non_volatile_memory_parameter_.redundant_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:246:87: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.redundant_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:107:9: note: Returning from 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_f, NVM_REDUNDANT_PARAMS_TEST_FLOAT);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:108:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:113:3: note: 6th function call argument is an uninitialized value
Printf("NVM test read redundant data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L113
7th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
Printf("NVM test read redundant 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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:99:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:102:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:105:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:7: note: 'ret' is equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:108:3: note: Taking false branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:109:3: note: 'r_red_test_d' declared without an initial value
double r_red_test_d;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:110:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_d, NVM_REDUNDANT_PARAMS_TEST_DOUBLE);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking true branch
if (non_volatile_memory_parameter_.redundant_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:246:87: note: Returning without writing to '*read_data_arg'
if (non_volatile_memory_parameter_.redundant_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:110:9: note: Returning from 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(&r_red_test_d, NVM_REDUNDANT_PARAMS_TEST_DOUBLE);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:111:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:111:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:113:3: note: 7th function call argument is an uninitialized value
Printf("NVM test read redundant data: u8_1 = %d, u8_2 = %d, u16 = %d, u32 = %d, f = %f, d = %e. \n",
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L255:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c#L255
Call to 'malloc' has an allocation size of 0 bytes [clang-analyzer-optin.portability.UnixAPI]
uint8_t* read_data_1 = (uint8_t*)malloc(size_byte);
^
/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:74: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:74: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:82:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:82:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:85:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:88:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:91:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:7: note: 'ret' is not equal to APP_NVM_MANAGER_ERROR_OK
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:94:3: note: Taking true branch
if (ret != APP_NVM_MANAGER_ERROR_OK) Printf("Error Redundant 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:98:9: note: Calling 'APP_NVM_PARAM_read_redundant_param'
ret = APP_NVM_PARAM_read_redundant_param(r_red_test_u8, NVM_REDUNDANT_PARAMS_TEST_UINT8);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:245:7: note: 'param_id' is < NVM_REDUNDANT_PARAMS_MAX
if (param_id >= NVM_REDUNDANT_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:245:3: note: Taking false branch
if (param_id >= NVM_REDUNDANT_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:246:7: note: Assuming field 'registered_flag' is not equal to 0
if (non_volatile_memory_parameter_.redundant_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:246:3: note: Taking false branch
if (non_volatile_memory_parameter_.redundant_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:251:3: note: 'size_byte' initialized to 0
uint32_t size_byte = single_data_size * length;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Applications/UserDefined/Cdh/non_volatile_memory_parameter.c:255:36: note: Call to 'malloc' has an allocation size of 0 bytes
uint8_t* read_data_1 = (uint8_t*)malloc(size_byte);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/stim210.c#L608:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/stim210.c#L608
Value stored to 'tlm_body_idx' is never read [clang-analyzer-deadcode.DeadStores]
tlm_body_idx = STIM210_analyze_crc_(stim210_driver, stim210_rx_data, tlm_body_idx);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/stim210.c:608:3: note: Value stored to 'tlm_body_idx' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/i2c_sils.c#L16:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/i2c_sils.c#L16
unused variable 'my_i2c' [clang-diagnostic-unused-variable]
I2C_Config* my_i2c = (I2C_Config*)my_i2c_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/i2c_sils.c#L64:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/i2c_sils.c#L64
unused variable 'my_i2c' [clang-diagnostic-unused-variable]
I2C_Config* my_i2c = (I2C_Config*)my_i2c_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L10:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L10
unused variable 'my_spi' [clang-diagnostic-unused-variable]
SPI_Config* my_spi = (SPI_Config*)my_spi_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L20:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L20
unused variable 'my_spi' [clang-diagnostic-unused-variable]
SPI_Config* my_spi = (SPI_Config*)my_spi_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L22:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L22
unused variable 'data' [clang-diagnostic-unused-variable]
unsigned char* data = (unsigned char*)data_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L31:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L31
unused variable 'my_spi' [clang-diagnostic-unused-variable]
SPI_Config* my_spi = (SPI_Config*)my_spi_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L33:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L33
unused variable 'data' [clang-diagnostic-unused-variable]
unsigned char* data = (unsigned char*)data_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L42:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/IfWrapper/Sils/spi_sils.c#L42
unused variable 'my_spi' [clang-diagnostic-unused-variable]
SPI_Config* my_spi = (SPI_Config*)my_spi_v;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/print.c#L14:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/print.c#L14
unused variable 'PRINT_buffer_' [clang-diagnostic-unused-variable]
static char PRINT_buffer_[512];
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L52:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L52
unused function 'OEM7600_store_range_tlm_chunk_' [clang-diagnostic-unused-function]
static DS_ERR_CODE OEM7600_store_range_tlm_chunk_(OEM7600_Driver* oem7600_driver);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L53:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L53
unused function 'OEM7600_store_range_tlm_chunk_pickup_' [clang-diagnostic-unused-function]
static DS_ERR_CODE OEM7600_store_range_tlm_chunk_pickup_(OEM7600_Driver* oem7600_driver, uint16_t if_rec_len, uint16_t* p_rx_buffer_read_pos);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L96:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L96
Value stored to 'ret_gpio_reset_setting' is never read [clang-analyzer-deadcode.DeadStores]
ret_gpio_reset_setting = (GPIO_ERR_CODE)GPIO_set_direction(ch_gpio_reset, GPIO_OUTPUT);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c:96:3: note: Value stored to 'ret_gpio_reset_setting' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L460:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/oem7600.c#L460
unused variable 'kCountForDebugOut' [clang-diagnostic-unused-variable]
const uint8_t kCountForDebugOut = 10; //!< テレメデータのデバッグアウト頻度(何回データ受信したらコンソール出力するか)
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/geomagnetism.c#L384:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/geomagnetism.c#L384
absolute value function 'fabsf' given an argument of type 'const double' but has parameter of type 'float' which may cause truncation of value [clang-diagnostic-absolute-value]
if (fabsf(sinl) > GEOMAGNETISM_POLAR_REGION_SIN_COLAT_LIMIT)
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/geomagnetism.c:384:9: note: use function 'fabs' instead
if (fabsf(sinl) > GEOMAGNETISM_POLAR_REGION_SIN_COLAT_LIMIT)
^~~~~
fabs
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/c2a_math.c#L152:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/c2a_math.c#L152
Value stored to 'out' is never read [clang-analyzer-deadcode.DeadStores]
out = diff / t_diff;
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/c2a_math.c:152:3: note: Value stored to 'out' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/sagitta.c#L95:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/sagitta.c#L95
unused function 'SAGITTA_request_tlm_' [clang-diagnostic-unused-function]
static DS_CMD_ERR_CODE SAGITTA_request_tlm_(SAGITTA_Driver* sagitta_driver);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/sagitta.c#L2374:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Drivers/Aocs/sagitta.c#L2374
unused function 'SAGITTA_memcpy_u64_from_rx_frame_decoded_' [clang-diagnostic-unused-function]
static void SAGITTA_memcpy_u64_from_rx_frame_decoded_(uint64_t* output, uint16_t offset)
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L13:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L13
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
const Quaternion ATTITUDE_TARGET_PARAMETERS_quaternion_target_i2t = { 0.5f, 0.5f, 0.5f, 0.5f };
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L17:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L17
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const APP_TAFO_TARGET_DIRECITON ATTITUDE_TARGET_PARAMETERS_main_target_direction = APP_TAFO_TARGET_DIRECITON_SUN;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L18:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L18
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_TARGET_PARAMETERS_vec_to_main_target_body[PHYSICAL_CONST_THREE_DIM] = { 1.0f, 0.0f, 0.0f };
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L20:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L20
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const APP_TAFO_TARGET_DIRECITON ATTITUDE_TARGET_PARAMETERS_sub_target_direction = APP_TAFO_TARGET_DIRECITON_EARTH_CENTER;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L21:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L21
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_TARGET_PARAMETERS_vec_to_sub_target_body[PHYSICAL_CONST_THREE_DIM] = { 0.0f, 1.0f, 0.0f };
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L23:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L23
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const MATRIX33_ROTATION_AXIS ATTITUDE_TARGET_PARAMETERS_offset_angle_axis = MATRIX33_ROTATION_AXIS_X;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L24:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L24
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_TARGET_PARAMETERS_offset_angle_rad = 0.0f;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L26:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_target_parameters.c#L26
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_TARGET_PARAMETERS_target_lla_rad_m[PHYSICAL_CONST_THREE_DIM] = { PARAMETER_SETTING_MACRO_DEGREE_TO_RADIAN(35.7130f),
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L61:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L61
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_CONTROL_PARAMETERS_tac_mtq_max_integral_angle_rad = PARAMETER_SETTING_MACRO_DEGREE_TO_RADIAN(40.0f);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L62:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L62
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_CONTROL_PARAMETERS_tac_mtq_max_angle_to_run_integral_control_rad = PARAMETER_SETTING_MACRO_DEGREE_TO_RADIAN(30.0f);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L64:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L64
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_CONTROL_PARAMETERS_tac_mtq_lpf_sample_freq_Hz = 10.0f;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L65:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L65
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_CONTROL_PARAMETERS_tac_mtq_lpf_trq_cutoff_freq_Hz = 0.3f;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L66:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/attitude_control_parameters.c#L66
'extern' variable has an initializer [clang-diagnostic-extern-initializer]
extern const float ATTITUDE_CONTROL_PARAMETERS_tac_mtq_lpf_trq_damping_factor = 1.0f;
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/rm3100_parameters.c#L25:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/rm3100_parameters.c#L25
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
const Quaternion RM3100_PARAMETERS_mag_ext_quaternion_c2b = {-0.707106471, 0.707107127, 0.0f, 0.0f};
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L11:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L11
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
{ 0.70710665f, 0.0f, 0.0f, 0.70710665f, // IDX 0
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L12:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L12
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
0.0f, -0.70710665f, 0.70710665f, 0.0f, // IDX 1
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L13:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L13
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
0.0f, 0.0f, 0.70710665f, 0.70710665f, // IDX 2
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L14:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Settings/SatelliteParameters/Sample/nanossoc_d60_parameters.c#L14
suggest braces around initialization of subobject [clang-diagnostic-missing-braces]
0.707106471f, -0.707106471f, 0.0f, 0.0f }; // IDX 3
^
{ }
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_nanossoc_d60.c#L114:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_nanossoc_d60.c#L114
Value stored to 'bc_cycle' is never read [clang-analyzer-deadcode.DeadStores]
bc_cycle += OBCT_sec2cycle(1);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_nanossoc_d60.c:114:3: note: Value stored to 'bc_cycle' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c#L89:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c#L89
Value stored to 'bc_cycle' is never read [clang-analyzer-deadcode.DeadStores]
bc_cycle += OBCT_sec2cycle(1);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c:89:3: note: Value stored to 'bc_cycle' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c#L106:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c#L106
Value stored to 'bc_cycle' is never read [clang-analyzer-deadcode.DeadStores]
bc_cycle += OBCT_sec2cycle(1);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_sagitta.c:106:3: note: Value stored to 'bc_cycle' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c#L83:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c#L83
Value stored to 'bc_cycle' is never read [clang-analyzer-deadcode.DeadStores]
bc_cycle += OBCT_sec2cycle(1);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c:83:3: note: Value stored to 'bc_cycle' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c#L99:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c#L99
Value stored to 'bc_cycle' is never read [clang-analyzer-deadcode.DeadStores]
bc_cycle += OBCT_sec2cycle(1);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/TlmCmd/NormalBlockCommandDefinition/nbc_oem7600.c:99:3: note: Value stored to 'bc_cycle' is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L73:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L73
Value stored to 'ignored_warning' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR ignored_warning = VECTOR3_normalize(axis_normalized, axis);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:73:18: note: Value stored to 'ignored_warning' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L73:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L73
unused variable 'ignored_warning' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR ignored_warning = VECTOR3_normalize(axis_normalized, axis);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L98:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L98
Value stored to 'ignored_warning' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR ignored_warning = MATRIX33_normalize(matrix_n, matrix);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:98:18: note: Value stored to 'ignored_warning' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L98:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L98
unused variable 'ignored_warning' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR ignored_warning = MATRIX33_normalize(matrix_n, matrix);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L233:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L233
Value stored to 'err_check' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR err_check =
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:233:18: note: Value stored to 'err_check' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L233:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L233
unused variable 'err_check' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR err_check =
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L245:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L245
Value stored to 'err_check' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR err_check =
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:245:18: note: Value stored to 'err_check' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L245:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L245
unused variable 'err_check' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR err_check =
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L257:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L257
Value stored to 'err_check' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR err_check =
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:257:18: note: Value stored to 'err_check' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L257:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L257
unused variable 'err_check' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR err_check =
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L310:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L310
Value stored to 'err_check' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR err_check = VECTOR3_normalize(axis, axis_unnormalized);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:310:18: note: Value stored to 'err_check' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L310:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L310
unused variable 'err_check' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR err_check = VECTOR3_normalize(axis, axis_unnormalized);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L347:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L347
Value stored to 'dummy' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR dummy = MATRIX33_normalize(matrix, matrix_before_normalize);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:347:18: note: Value stored to 'dummy' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L347:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L347
unused variable 'dummy' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR dummy = MATRIX33_normalize(matrix, matrix_before_normalize);
^
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L394:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L394
Value stored to 'dummy_code' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
C2A_MATH_ERROR dummy_code = QUATERNION_normalize_with_error_check(&q_out, q_in);
^
/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c:394:18: note: Value stored to 'dummy_code' during its initialization is never read
|
[clang-tidy -Wextra] build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L394:
build/home/runner/work/c2a-aobc/c2a-aobc/c2a_user/src/src_user/Library/quaternion.c#L394
unused variable 'dummy_code' [clang-diagnostic-unused-variable]
C2A_MATH_ERROR dummy_code = QUATERNION_normalize_with_error_check(&q_out, q_in);
^
|