Fixed #4649 (false positive: Used file that is not opened; variables in struct)