Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeQL multiple.ql EFanntenna.c DBResidueMask() call sites
TileTypeBitMask *DBResidueMask(TileType type); /* NOTE: candidate for using a const return */ TooManyArguments.ql EFantenna.c DBResidueMask() calls with too many args ????????.ql EFantenna. DBResidueMask() called but function return discarded and call has no side-effect ([[nodiscard]] candidate in C++ parlance) This patch fixes the calling arguments to the use of DBResidueMask() without removing the call completely (as an assessment of original intention should be made to confirm correctness) but this method is a access method to retrieve the residue mark Added __nodiscard__ to function to compiler can help identify sooner
- Loading branch information