Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125)
This commit is contained in:
committed by
graham sanderson
parent
a59fd524d5
commit
6f94f6a3d7
@ -42,7 +42,7 @@ extern "C" {
|
||||
#define PARAM_ASSERTIONS_ENABLED_DMA 0
|
||||
#endif
|
||||
|
||||
static inline void check_dma_channel_param(uint channel) {
|
||||
static inline void check_dma_channel_param(__unused uint channel) {
|
||||
#if PARAM_ASSERTIONS_ENABLED(DMA)
|
||||
// this method is used a lot by inline functions so avoid code bloat by deferring to function
|
||||
extern void check_dma_channel_param_impl(uint channel);
|
||||
|
Reference in New Issue
Block a user