string_test: The dark side of coverity 13/17913/1
authorSteven Luong <sluong@cisco.com>
Wed, 27 Feb 2019 16:19:27 +0000 (08:19 -0800)
committerSteven Luong <sluong@cisco.com>
Wed, 27 Feb 2019 16:31:58 +0000 (08:31 -0800)
commit69818c696445298ce1f8e95c2f6eefc48f0b9197
tree58a2a505a17a2caaed1b11b533b4f2dc3c40bb53
parentc28cbd4071503021823de2175ebf661d1f9b84cf
string_test: The dark side of coverity

Me: "Mr Coverity, I thought I fixed the dead code warning just few days ago in
this file. Why are you still complaining about the same stuff to me?"

Mr. Coverity: "Duh! But you are supposed to fix all occurences in the same file."

Me: "Mr. Coverity, I didn't see you flag the warning in the other places last
time?"

Mr. Coverity: "Shh! That is the secret of my dark side!"

Change-Id: I565eccd90bf1bb39c9881664d361f83396ca8bcc
Signed-off-by: Steven Luong <sluong@cisco.com>
src/plugins/unittest/string_test.c