summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/misc/cond_no_effect.cocci
AgeCommit message (Collapse)Author
2016-10-11Coccinelle: flag conditions with no effectNicholas Mc Guire
Report code constructs where the if and else branch are functionally identical. In cases where this is intended it really should be documented - most reported cases probably are bugs. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Michal Marek <mmarek@suse.com>