Do @warning_map || = {} instead of checking whether it's defined.