-
由 Sodagudi Prasad 提交于
Currently, GCC disables -Wunused-const-variable, but not -Wunused-variable, so warns unused variables if they are non-constant. While, Clang does not warn unused variables at all regardless of the const qualifier because -Wno-unused-const-variable is implied by the stronger option -Wno-unused-variable. Disable -Wunused-const-variable instead of -Wunused-variable so that GCC and Clang work in the same way. Signed-off-by: NPrasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
0a5f4176