Fix problem when compiling without valgrind

This commit is contained in:
Stef Walter 2011-11-19 08:04:28 +01:00 committed by Stef Walter
parent 17fade3173
commit a075105bf4

View File

@ -794,8 +794,10 @@ sec_validate (Block *block)
Cell *cell; Cell *cell;
word_t *word, *last; word_t *word, *last;
#ifdef WITH_VALGRIND
if (RUNNING_ON_VALGRIND) if (RUNNING_ON_VALGRIND)
return; return;
#endif
word = block->words; word = block->words;
last = word + block->n_words; last = word + block->n_words;