Fixed a static code analyzer warning.