fixed a small nit found by the clang static analyzer.