Fix Clang static analyzer warning.

Closes #385