From: Matthias Braun Date: Fri, 6 May 2011 07:39:43 +0000 (+0200) Subject: fix compilation in non-debug mode, remove unused #define X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f2599e248ce54a7cb7d43430be4ebbaf601deab5;p=libfirm fix compilation in non-debug mode, remove unused #define --- diff --git a/ir/ir/irprofile.c b/ir/ir/irprofile.c index 45218f2fa..6046ca9b9 100644 --- a/ir/ir/irprofile.c +++ b/ir/ir/irprofile.c @@ -63,9 +63,6 @@ typedef struct intialize_execfreq_env_t { double freq_factor; } initialize_execfreq_env_t; -/* maximal filename size */ -#define MAX_NAME_SIZE 0x100 - /* minimal execution frequency (an execfreq of 0 confuses algos) */ #define MIN_EXECFREQ 0.00001 @@ -73,7 +70,7 @@ typedef struct intialize_execfreq_env_t { static set *profile = NULL; /* Hook for vcg output. */ -DEBUG_ONLY(static void *hook;) +static void *hook; /* The debug module handle. */ DEBUG_ONLY(static firm_dbg_module_t *dbg;)