Fixed unused global variables false positives.