1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08: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 3bdf7fc878
commit 7620c6fcd1
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