CodeQL added __nodiscard__ DBResidueMask()
TileTypeBitMask *DBResidueMask(TileType type); /* NOTE: candidate for using a const return */ Added __nodiscard__ to function for compiler assitance. Main problem fixed via another recent comment to remove excessive DBResidueMask()
This commit is contained in:
parent
58c3cb7250
commit
84203dce53
|
|
@ -900,7 +900,7 @@ extern TileType DBTechFindStacking();
|
|||
extern bool DBIsContact();
|
||||
extern PlaneMask DBLayerPlanes();
|
||||
|
||||
extern TileTypeBitMask *DBResidueMask();
|
||||
extern __nodiscard__ TileTypeBitMask *DBResidueMask(TileType type);
|
||||
extern void DBFullResidueMask();
|
||||
|
||||
/* Miscellaneous */
|
||||
|
|
|
|||
Loading…
Reference in New Issue