forked from sonvoque/LWmesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcppcheck_report.txt
More file actions
148 lines (148 loc) · 14.1 KB
/
Copy pathcppcheck_report.txt
File metadata and controls
148 lines (148 loc) · 14.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[PIC18F26K42/mcc_generated_files/crc.c:161]: (style) The scope of the variable 'mask' can be reduced.
[PIC18F26K42/mcc_generated_files/crc.c:62]: (style) struct member 'CRC_OBJ::seedDirection' is never used.
[PIC18F26K42/test.c:16] -> [PIC18F26K42/test.c:12]: (style, inconclusive) Found duplicate branches for 'if' and 'else'.
[PIC18F27K42/mcc_generated_files/crc.c:161]: (style) The scope of the variable 'mask' can be reduced.
[PIC18F27K42/mcc_generated_files/crc.c:62]: (style) struct member 'CRC_OBJ::seedDirection' is never used.
[PIC18F27K42/test.c:16] -> [PIC18F27K42/test.c:12]: (style, inconclusive) Found duplicate branches for 'if' and 'else'.
[PIC18F47K42/mcc_generated_files/crc.c:161]: (style) The scope of the variable 'mask' can be reduced.
[PIC18F47K42/mcc_generated_files/crc.c:62]: (style) struct member 'CRC_OBJ::seedDirection' is never used.
[aes/aes_src/AES.c:153]: (style) The scope of the variable 'k' can be reduced.
[aes/aes_src/AES.c:308]: (style) The scope of the variable 'Tmp' can be reduced.
[aes/aes_src/AES.c:308]: (style) The scope of the variable 'Tm' can be reduced.
[aes/aes_src/AES.c:308]: (style) The scope of the variable 't' can be reduced.
[aes/aes_src/AES.c:350]: (style) The scope of the variable 'a' can be reduced.
[aes/aes_src/AES.c:350]: (style) The scope of the variable 'b' can be reduced.
[aes/aes_src/AES.c:350]: (style) The scope of the variable 'c' can be reduced.
[aes/aes_src/AES.c:350]: (style) The scope of the variable 'd' can be reduced.
[app/app_src/application.c:2153]: (style) Variable 'count' is modified but its new value is never used.
[modbus/mb.c:228]: (style) The scope of the variable 'i' can be reduced.
[modbus/mb.c:340]: (style) The scope of the variable 'i' can be reduced.
[modbus/rtu/mbcrc.c:89]: (style) The scope of the variable 'iIndex' can be reduced.
[modbus/rtu/mbrtu.h:37] -> [modbus/rtu/mbrtu.c:81]: (style, inconclusive) Function 'eMBRTUInit' argument 1 names different: declaration 'slaveAddress' definition 'ucSlaveAddress'.
[modbus/rtu/mbrtu.h:42] -> [modbus/rtu/mbrtu.c:187]: (style, inconclusive) Function 'eMBRTUSend' argument 1 names different: declaration 'slaveAddress' definition 'ucSlaveAddress'.
[modbus/rtu/mbrtu.c:175]: (style) Variable 'xFrameReceived' is assigned a value that is never used.
[nwk/nwk_src/nwkDataReq.c:126]: (style) Clarify calculation precedence for '&' and '?'.
[nwk/nwk_src/nwkDataReq.c:128]: (style) Clarify calculation precedence for '&' and '?'.
[nwk/nwk_src/nwkDataReq.c:129]: (style) Clarify calculation precedence for '&' and '?'.
[nwk/nwk_src/nwkDataReq.c:136]: (style) Clarify calculation precedence for '&' and '?'.
[nwk/nwk_src/nwkDataReq.c:132]: (style) Clarify calculation precedence for '&' and '?'.
[nwk/nwk_src/nwkRouteDiscovery.c:196]: (style) The scope of the variable 'entry' can be reduced.
[nwk/nwk_src/nwkTx.c:117] -> [nwk/nwk_src/nwkTx.c:113]: (style, inconclusive) Found duplicate branches for 'if' and 'else'.
[phy/sx1280/sx1280_src/sx1280-hal.c:164]: (style) Variable 'halSize' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280.c:1102]: (style) The scope of the variable 'correctionCoeff' can be reduced.
[phy/sx1280/sx1280_src/sx1280.c:227]: (style) Unused variable: packet_typ
[phy/sx1280/sx1280_src/sx1280_drv.c:124] -> [phy/sx1280/sx1280_src/sx1280_drv.c:120]: (style, inconclusive) Found duplicate branches for 'if' and 'else'.
[phy/sx1280/sx1280_src/sx1280_drv.c:250]: (style) The scope of the variable 'temp' can be reduced.
[phy/sx1280/sx1280_src/sx1280_drv.c:12] -> [phy/sx1280/sx1280_src/sx1280_drv.c:164]: (style) Local variable packet_params shadows outer variable
[phy/sx1280/sx1280_src/sx1280_drv.c:12] -> [phy/sx1280/sx1280_src/sx1280_drv.c:291]: (style) Local variable packet_params shadows outer variable
[phy/sx1280/sx1280_src/sx1280_drv.c:12] -> [phy/sx1280/sx1280_src/sx1280_drv.c:315]: (style) Local variable packet_params shadows outer variable
[phy/sx1280/sx1280_src/sx1280_drv.c:182]: (style) Variable 'rad_stat' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280_drv.c:211]: (style) Variable 'irqFlags' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280_drv.c:261]: (style) Variable 'rad_stat' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280_drv.c:324]: (style) Variable 'rad_ver' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280_drv.c:362]: (style) Variable 'rad_stat' is assigned a value that is never used.
[phy/sx1280/sx1280_src/sx1280_drv.c:313]: (style) Unused variable: test
[phy/sx1280/sx1280_src/sx1280_drv.c:361]: (style) Variable 'freq_error' is assigned a value that is never used.
[aes/aes_src/AES.c:536]: (style) The function 'AES_CTR_xcrypt_buffer' is never used.
[aes/aes_src/AES.c:473]: (style) The function 'AES_ECB_decrypt' is never used.
[aes/aes_src/AES.c:467]: (style) The function 'AES_ECB_encrypt' is never used.
[aes/aes_src/AES.c:234]: (style) The function 'AES_ctx_set_iv' is never used.
[aes/aes_src/AES.c:224]: (style) The function 'AES_init_ctx' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:201]: (style) The function 'CRC_IsBusy' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:245]: (style) The function 'CRC_SCAN_HasScanCompleted' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:239]: (style) The function 'CRC_SCAN_IsScannerBusy' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:225]: (style) The function 'CRC_SCAN_SetAddressLimit' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:207]: (style) The function 'CRC_SCAN_StartScanner' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:216]: (style) The function 'CRC_SCAN_StopScanner' is never used.
[PIC18F26K42/mcc_generated_files/crc.c:119]: (style) The function 'CRC_Start' is never used.
[app/app_src/circular buffer.c:66]: (style) The function 'CircularBufferClear' is never used.
[app/app_src/circular buffer.c:101]: (style) The function 'CircularBufferPeek' is never used.
[phy/sx1276/sx1276_src/sx1276.c:686]: (style) The function 'DIO2_FHSS_ISR' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:125]: (style) The function 'DMA1_GetDestinationPointer' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:120]: (style) The function 'DMA1_GetSourcePointer' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:59]: (style) The function 'DMA1_Initialize' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:95]: (style) The function 'DMA1_SelectSourceRegion' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:135]: (style) The function 'DMA1_SetAbortTrigger' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:156]: (style) The function 'DMA1_SetDMAPriority' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:105]: (style) The function 'DMA1_SetDestinationAddress' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:115]: (style) The function 'DMA1_SetDestinationSize' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:100]: (style) The function 'DMA1_SetSourceAddress' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:110]: (style) The function 'DMA1_SetSourceSize' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:130]: (style) The function 'DMA1_SetStartTrigger' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:140]: (style) The function 'DMA1_StartTransfer' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:145]: (style) The function 'DMA1_StartTransferWithTrigger' is never used.
[PIC18F26K42/mcc_generated_files/dma1.c:150]: (style) The function 'DMA1_StopTransfer' is never used.
[PIC18F26K42/mcc_generated_files/memory.c:71]: (style) The function 'FLASH_ReadWord' is never used.
[PIC18F26K42/mcc_generated_files/memory.c:76]: (style) The function 'FLASH_WriteByte' is never used.
[PIC18F26K42/mcc_generated_files/memory.c:206]: (style) The function 'MEMORY_Tasks' is never used.
[nwk/nwk_src/nwk.c:136]: (style) The function 'NWK_Busy' is never used.
[nwk/nwk_src/nwk.c:178]: (style) The function 'NWK_LinearizeLqi' is never used.
[nwk/nwk_src/nwk.c:144]: (style) The function 'NWK_Lock' is never used.
[nwk/nwk_src/nwkRx.c:162]: (style) The function 'NWK_SetAckControl' is never used.
[nwk/nwk_src/nwkSecurity.c:92]: (style) The function 'NWK_SetSecurityKey' is never used.
[nwk/nwk_src/nwk.c:160]: (style) The function 'NWK_SleepReq' is never used.
[nwk/nwk_src/nwk.c:152]: (style) The function 'NWK_Unlock' is never used.
[nwk/nwk_src/nwk.c:168]: (style) The function 'NWK_WakeupReq' is never used.
[phy/phy_src/phy.c:54]: (style) The function 'PHY_SetTxPower' is never used.
[PIC18F26K42/mcc_generated_files/pin_manager.c:134]: (style) The function 'PIN_MANAGER_IOC' is never used.
[PIC18F26K42/mcc_generated_files/spi1.c:95]: (style) The function 'SPI1_Close' is never used.
[PIC18F26K42/mcc_generated_files/spi1.c:79]: (style) The function 'SPI1_Open' is never used.
[PIC18F26K42/mcc_generated_files/spi1.c:144]: (style) The function 'SPI1_ReadByte' is never used.
[PIC18F26K42/mcc_generated_files/spi1.c:139]: (style) The function 'SPI1_WriteByte' is never used.
[phy/sx1276/sx1276_src/sx1276.c:105]: (style) The function 'SX1276ReadFifo' is never used.
[phy/sx1276/sx1276_src/sx1276.c:93]: (style) The function 'SX1276WriteFifo' is never used.
[phy/sx1280/sx1280_src/sx1280.c:1060]: (style) The function 'SX1280ComputeRangingCorrectionPolynome' is never used.
[phy/sx1280/sx1280_src/sx1280.c:1015]: (style) The function 'SX1280GetRangingCorrectionPerSfBwGain' is never used.
[phy/sx1280/sx1280_src/sx1280-hal.c:160]: (style) The function 'SX1280HalClearInstructionRam' is never used.
[phy/sx1280/sx1280_src/sx1280-hal.c:327]: (style) The function 'SX1280HalExchangeByte' is never used.
[phy/sx1280/sx1280_src/sx1280-hal.c:181]: (style) The function 'SX1280HalWakeup' is never used.
[phy/sx1280/sx1280_src/sx1280.c:916]: (style) The function 'SX1280ParseHexFileLine' is never used.
[sys/sys_src/sysTimer.c:78]: (style) The function 'SYS_TimerStop' is never used.
[PIC18F26K42/mcc_generated_files/tmr0.c:108]: (style) The function 'TMR0_ReadTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr0.c:128]: (style) The function 'TMR0_Reload' is never used.
[PIC18F26K42/mcc_generated_files/tmr0.c:96]: (style) The function 'TMR0_StartTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr0.c:102]: (style) The function 'TMR0_StopTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr0.c:121]: (style) The function 'TMR0_WriteTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:160]: (style) The function 'TMR1_CheckGateValueStatus' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:65]: (style) The function 'TMR1_Initialize' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:112]: (style) The function 'TMR1_ReadTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:150]: (style) The function 'TMR1_Reload' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:155]: (style) The function 'TMR1_StartSinglePulseAcquisition' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:100]: (style) The function 'TMR1_StartTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr1.c:106]: (style) The function 'TMR1_StopTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr3.c:160]: (style) The function 'TMR3_CheckGateValueStatus' is never used.
[PIC18F26K42/mcc_generated_files/tmr3.c:112]: (style) The function 'TMR3_ReadTimer' is never used.
[PIC18F26K42/mcc_generated_files/tmr3.c:150]: (style) The function 'TMR3_Reload' is never used.
[PIC18F26K42/mcc_generated_files/tmr3.c:155]: (style) The function 'TMR3_StartSinglePulseAcquisition' is never used.
[PIC18F27K42/mcc_generated_files/tmr5.c:152]: (style) The function 'TMR5_CheckGateValueStatus' is never used.
[PIC18F27K42/mcc_generated_files/tmr5.c:157]: (style) The function 'TMR5_HasOverflowOccured' is never used.
[PIC18F27K42/mcc_generated_files/tmr5.c:142]: (style) The function 'TMR5_Reload' is never used.
[PIC18F27K42/mcc_generated_files/tmr5.c:147]: (style) The function 'TMR5_StartSinglePulseAcquisition' is never used.
[app/app_src/application.c:1876]: (style) The function 'UART1_framing_error_handler' is never used.
[PIC18F26K42/mcc_generated_files/uart1.c:184]: (style) The function 'UART1_get_last_status' is never used.
[PIC18F26K42/mcc_generated_files/uart1.c:179]: (style) The function 'UART1_is_tx_done' is never used.
[phy/sx1276/sx1276_src/sx1276.c:423]: (style) The function 'available' is never used.
[phy/sx1276/sx1276_src/sx1276.c:571]: (style) The function 'cad_detected_isr' is never used.
[phy/sx1276/sx1276_src/sx1276.c:557]: (style) The function 'cad_done_isr' is never used.
[phy/sx1276/sx1276_src/sx1276.c:362]: (style) The function 'disableCrc' is never used.
[modbus/mb.c:273]: (style) The function 'eMBClose' is never used.
[app/app_src/application.c:2273]: (style) The function 'eMBRegHoldingCB' is never used.
[modbus/mb.c:226]: (style) The function 'eMBRegisterCB' is never used.
[modbus/mb.c:197]: (style) The function 'eMBTCPInit' is never used.
[memory/eeprom/eeprom_src/I2C_EEPROM.c:197]: (style) The function 'eeprom_rd_page' is never used.
[memory/eeprom/eeprom_src/I2C_EEPROM.c:94]: (style) The function 'eeprom_wr_page' is never used.
[phy/sx1276/sx1276_src/sx1276.c:339]: (style) The function 'getSyncWord' is never used.
[PIC18F26K42/mcc_generated_files/uart1.c:237]: (style) The function 'getch' is never used.
[modbus/functions/mbutils.c:117]: (style) The function 'prveMBError2Exception' is never used.
[phy/sx1276/sx1276_src/sx1276.c:428]: (style) The function 'read' is never used.
[phy/sx1276/sx1276_src/sx1276.c:814]: (style) The function 'readAllReg' is never used.
[phy/sx1276/sx1276_src/sx1276.c:584]: (style) The function 'rx_timeout_isr' is never used.
[app/app_src/application.c:1639]: (style) The function 'sendOKMessage' is never used.
[app/app_src/application.c:1654]: (style) The function 'sendUARTMessage' is never used.
[wdt/wdt_src/wdt.c:26]: (style) The function 'start_loop_timer' is never used.
[wdt/wdt_src/wdt.c:31]: (style) The function 'stop_loop_timer' is never used.
[PIC18F26K42/test.c:29]: (style) The function 'test_init' is never used.
[PIC18F26K42/test.c:37]: (style) The function 'test_send' is never used.
[modbus/functions/mbutils.c:86]: (style) The function 'xMBUtilGetBits' is never used.
[modbus/functions/mbutils.c:47]: (style) The function 'xMBUtilSetBits' is never used.
(information) Cppcheck cannot find all the include files (use --check-config for details)