You are right in the strict mode it is a warning.