diff --git a/src/stored/btape.c b/src/stored/btape.c index 0ee20b5136f..52629a47443 100644 --- a/src/stored/btape.c +++ b/src/stored/btape.c @@ -2151,7 +2151,9 @@ static void scan_blocks() static void statcmd() { +#ifdef xxxx int debug = debug_level; +#endif char *status; status = dev->status_dev();