]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: Grow_addbitmap(): Add check to quiet down static code checkers
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 4 Mar 2016 21:49:38 +0000 (16:49 -0500)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Mar 2016 16:35:34 +0000 (11:35 -0500)
commitefdfcc9e9503d03acf6b3adb47f34173f7112afe
tree15a6b7ad08c1e7a3d639cce5e93aaf5110a22db7
parent12add44564f195878c3e346e4bbae845dec67db3
Grow: Grow_addbitmap(): Add check to quiet down static code checkers

Grow_addbitmap() is only ever called with s->bitmap_file != NULL, but
not all static code checkers catch this. This adds a check to quiet
down the false positive warnings.

Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Grow.c