From 748b06a00e3fa4c4133e4c12f30577e109cc9aa6 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 4 Dec 2023 02:53:07 +0300 Subject: [PATCH] wscript: warn about unused variables --- wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wscript b/wscript index 0e3afb73..b706f425 100644 --- a/wscript +++ b/wscript @@ -324,6 +324,9 @@ def configure(conf): # disabled, flood # '-Wdouble-promotion', + + '-Wunused-variable', + '-Wunused-but-set-variable', ] opt_cflags = [