Removed code that generated warning during compile