Skip to content
Commit c8990359 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Michal Marek
Browse files

Coccinelle: flag conditions with no effect



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: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 1e01892e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment