From 5f310c57af176d7a9a113cbe7fc5b0ff4e4b75f5 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Mon, 7 Dec 2020 23:55:07 +0000 Subject: dump_contents is only used when DEBUG is enabled Wrap dump_contents in #ifdef DEBUG. --- src/stream.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/stream.c b/src/stream.c index 4a179247..69cbd0ad 100644 --- a/src/stream.c +++ b/src/stream.c @@ -72,6 +72,7 @@ int stream_impl_pop_line( struct stream_impl_data *ss ) return len; } +#ifdef DEBUG static void dump_contents( struct colm_program *prg, struct stream_impl_data *sid ) { struct run_buf *rb = sid->queue.head; @@ -84,6 +85,7 @@ static void dump_contents( struct colm_program *prg, struct stream_impl_data *si rb = rb->next; } } +#endif static bool loc_set( location_t *loc ) { -- cgit v1.2.1