diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 2b54cbc230..5e65b524e5 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -350,6 +350,8 @@ function(px4_add_common_flags) -Wno-varargs -Wno-address-of-packed-member -Wno-unknown-warning-option + -Wunused-but-set-variable + #-Wdouble-promotion # needs work first ) endif() else()