1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 01:01:52 -07:00

Fix rash build on os x by adding the unused attribute to functions declared static that are not called in the rash variety.

Copied from Perforce
 Change: 185915
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-05-01 12:18:00 +01:00
parent bd0e9da9ce
commit 4c655eba6a
20 changed files with 47 additions and 2 deletions

View file

@ -994,6 +994,7 @@ AllocPattern AllocPatternRampCollectAll(void)
return &AllocPatternRampCollectAllStruct;
}
ATTRIBUTE_UNUSED
static Bool AllocPatternCheck(AllocPattern pattern)
{
CHECKL(pattern == &AllocPatternRampCollectAllStruct