Variant warnings, should I fix the code, or is the warning incorrect?