disable warning for "if assigning"