Fixed Bug #7141

http://hercules.ws/board/tracker/issue-7141-some-warnings/
Signed-off-by: shennetsind <ind@henn.et>