From: Jens Axboe Date: Thu, 21 Jan 2016 04:17:55 +0000 (-0700) Subject: init: fix compile for FIO_INC_DEBUG not being set X-Git-Tag: fio-2.5~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=44acdcf42df9a7d0fd696db90965c4e94fc6efe9 init: fix compile for FIO_INC_DEBUG not being set Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 98c53edd..5ee40823 100644 --- a/init.c +++ b/init.c @@ -1860,6 +1860,7 @@ static int fill_def_thread(void) static void show_debug_categories(void) { +#ifdef FIO_INC_DEBUG struct debug_level *dl = &debug_levels[0]; int curlen, first = 1; @@ -1885,6 +1886,7 @@ static void show_debug_categories(void) first = 0; } printf("\n"); +#endif } static void usage(const char *name)