Fix a warning
Merge pull request #2141 from sorokin/fix-a-warning

Fix a warning