diff options
author | Adrian Thurston <thurston@colm.net> | 2020-12-07 23:55:07 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-12-07 23:55:07 +0000 |
commit | 5f310c57af176d7a9a113cbe7fc5b0ff4e4b75f5 (patch) | |
tree | f007ca8f7fac0445b61a2b7e50dcf62243b5a837 /src | |
parent | 7279749da5e988b0d25a980be969b63e71b1f026 (diff) | |
download | colm-5f310c57af176d7a9a113cbe7fc5b0ff4e4b75f5.tar.gz |
dump_contents is only used when DEBUG is enabled
Wrap dump_contents in #ifdef DEBUG.
Diffstat (limited to 'src')
-rw-r--r-- | src/stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |