Fixes #1186
Warning removed