File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1568,6 +1568,7 @@ Wpacked
15681568Wpedantic
15691569Wpragma
15701570wrdata
1571+ Wredundant
15711572Wreserved
15721573writen
15731574Wsign
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ jobs:
131131 exclude-dirs : source/portable/NetworkInterface/STM32
132132
133133 formatting :
134- runs-on : ubuntu-20.04
134+ runs-on : ubuntu-latest
135135 steps :
136136 - uses : actions/checkout@v4
137137 - name : Check formatting
Original file line number Diff line number Diff line change 8787 /* coverity[misra_c_2012_rule_8_9_violation] */
8888 _static FreeRTOS_Socket_t * xSocketToListen = NULL ;
8989
90- #if ( ipconfigHAS_DEBUG_PRINTF != 0 )
91-
92- /*
93- * For logging and debugging: make a string showing the TCP flags.
94- */
95- const char * prvTCPFlagMeaning ( UBaseType_t xFlags );
96- #endif /* ipconfigHAS_DEBUG_PRINTF != 0 */
97-
9890 static IPv46_Address_t xGetSourceAddrFromBuffer ( const uint8_t * const pucEthernetBuffer );
9991
10092/*-----------------------------------------------------------*/
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ target_compile_options(freertos_plus_tcp
111111 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
112112 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wpedantic>
113113 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wconversion>
114+ $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wredundant-decls>
114115 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wunused-variable >
115116 $<$<COMPILE_LANG_AND_ID:C,Clang>:-Weverything>
116117
You can’t perform that action at this time.
0 commit comments