use option: '-Woverride-init'
commitecb47e33d67a535716b4894c25cfe46c7abf1e3b
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Wed, 22 Feb 2017 15:30:02 +0000 (22 16:30 +0100)
committerChristopher Li <sparse@chrisli.org>
Fri, 3 Mar 2017 16:45:38 +0000 (4 00:45 +0800)
treeecb45c2620f6118b6a368731e4295d97c3d9a1d2
parenta9432b3336e8e584c85ed8a03535aa7564e93514
use option: '-Woverride-init'

Sparse warns unconditionally about overlapping initilalizers.

Introduces a warning flag to control this, use the same name
as GCC's and enabled it by default.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
expand.c
lib.c
lib.h
validation/Woverride-init-def.c [new file with mode: 0644]
validation/Woverride-init-no.c [new file with mode: 0644]
validation/Woverride-init-yes.c [new file with mode: 0644]