Remove null test

It doesn't add anything, and the semi-colon meant it wasn't doing the
expected thing anyway.

Fix Coverity CID 1211801