]> granicus.if.org Git - zfs/commit
Coverity 9656: Forward NULL
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 18:09:01 +0000 (10:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 18:09:01 +0000 (10:09 -0800)
commit02c7f164946e86048721a8c1af6ada3f25c3a78c
tree0bc6fe84d0c4a17670afa421b5625cfe74be620e
parent1315c884379965af367d1a38c695f73ad7d6e0c1
Coverity 9656: Forward NULL

This was a false positive the callpath being walked is impossible
because the splat_kmem_cache_test_kcp_alloc() function will ensure
kcp->kcp_kcd[0] is initialized to NULL.  However, there is no harm
is making this explicit for the test case so I'm adding a line to
clearly set it to correct the analysis.
module/splat/splat-kmem.c