Trying to figure out all the ways people might legitimately handle an error seems like a recipe for disaster. I'm not sure this is any better than just seeing if the variable is ever referenced, and if is, assuming the author knows what's going on.