|
From: <sv...@va...> - 2009-05-18 05:10:03
|
Author: njn
Date: 2009-05-18 06:10:00 +0100 (Mon, 18 May 2009)
New Revision: 9890
Log:
Merge part of r9250 (add unused attribute to callgrind/fn.c:check_code()
from the DARWIN branch.
Modified:
trunk/callgrind/fn.c
Modified: trunk/callgrind/fn.c
===================================================================
--- trunk/callgrind/fn.c 2009-05-18 05:07:19 UTC (rev 9889)
+++ trunk/callgrind/fn.c 2009-05-18 05:10:00 UTC (rev 9890)
@@ -47,6 +47,7 @@
/* Scan for a pattern in the code of an ELF object.
* If found, return true and set runtime_resolve_{addr,length}
*/
+__attribute__((unused)) // Possibly; depends on the platform.
static Bool check_code(obj_node* obj,
unsigned char code[], struct pattern* pat)
{
|