Fixed #4490 (False positive: unused function (function pointer is taken in global scope))