should not emit warning when operation already declares the variable