tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.52k stars 2.44k forks source link

BaseTools/CodeQL: Removed unused static function query #5909

Closed makubacki closed 1 month ago

makubacki commented 1 month ago

Description

This query produces a high rate of false positives with some common patterns in edk2 like passing function pointers for callback.

Previously, due to the usage of STATIC instead of static, particularly for functions, this query was rarely used in the past. It is removed here to prevent future false positives.

How This Was Tested

Integration Instructions