jbuf: fix RELEASE build with DEBUG_LEVEL 6
@@ -114,9 +114,11 @@ static void frame_alloc(struct jbuf *jb, struct frame **f)
le = jb->framel.head;
f0 = le->data;
+#if JBUF_STAT
STAT_INC(n_overflow);
DEBUG_INFO("drop 1 old frame seq=%u (total dropped %u)\n",
f0->hdr.seq, jb->stat.n_overflow);
+#endif
f0->mem = mem_deref(f0->mem);
list_unlink(le);
