File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ add_compile_options(
197197 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wextra>
198198 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wpedantic>
199199 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
200+ $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wunused-variable >
200201 $<$<COMPILE_LANG_AND_ID:C,Clang>:-Weverything>
201202
202203 # TODO: Add in other Compilers here.
Original file line number Diff line number Diff line change 313313 xSet .usPortNumber = usPort ;
314314 xSet .ppxLastAddress = & ( xSet .pxLastAddress );
315315
316- #if ( ipconfigUSE_LLMNR == 1 )
317- uint16_t usType = 0U ;
318- uint16_t usClass = 0U ;
319- #endif
316+ uint16_t usType = 0U ;
317+ uint16_t usClass = 0U ;
318+
320319 #if ( ipconfigUSE_DNS_CACHE == 1 ) || ( ipconfigDNS_USE_CALLBACKS == 1 )
321320 xSet .xDoStore = xExpected ;
322321 #endif
629628 /* The IP-address found will be returned. */
630629 }
631630
631+
632+ ( void ) usType ;
633+ ( void ) usClass ;
634+
632635 return ulIPAddress ;
633636 }
634637
You can’t perform that action at this time.
0 commit comments