From a075105bf43b3f70548df1ceb0d1bc75e88010ed Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 19 Nov 2011 08:04:28 +0100 Subject: [PATCH] Fix problem when compiling without valgrind --- egg/egg-secure-memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/egg/egg-secure-memory.c b/egg/egg-secure-memory.c index 49230c5..dca9bac 100644 --- a/egg/egg-secure-memory.c +++ b/egg/egg-secure-memory.c @@ -794,8 +794,10 @@ sec_validate (Block *block) Cell *cell; word_t *word, *last; +#ifdef WITH_VALGRIND if (RUNNING_ON_VALGRIND) return; +#endif word = block->words; last = word + block->n_words;