]> git.baikalelectronics.ru Git - arm-tf.git/commit
build: add -Wunused-const-variable=2 to W=2
authorBoyan Karatotev <boyan.karatotev@arm.com>
Mon, 21 Nov 2022 14:49:05 +0000 (14:49 +0000)
committerBoyan Karatotev <boyan.karatotev@arm.com>
Thu, 1 Dec 2022 16:33:40 +0000 (16:33 +0000)
commitd141e638442ea37ae64b5ddd375349aaa1870c2d
tree723a9af9a658d2ad2a0d639010af09bf86d3ebd4
parentd75a9ecdaa8caa7f845297958a3f606b66bc2264
build: add -Wunused-const-variable=2 to W=2

TF-A is quite strict with warnings and redundant code. This flag
furthers this so it would be useful to have it. Add it to W=2 as it sets
off a few platforms which require a somewhat involved fix.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Id52b3d477b4ada7dd69a36101ab22c575ab4ef19
Makefile