aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 19:02:46 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 19:02:46 -0700
commit9dd6873e5855f69b01f2e3705a49a4231c992e71 (patch)
tree7fc073cc4780b381285567b1df1b6caf9966bb00 /src/io.h
parent3f1fc332e7451187b1b9806f544bc8199fa412a8 (diff)
lint: remove or comment out unused functions
Cppcheck has identified a lot of unused functions. This removes funcs that are unlikely to ever be used. Others that might be useful for debugging I've commented out with "#if 0".
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/io.h b/src/io.h
index adc59be1..181099ad 100644
--- a/src/io.h
+++ b/src/io.h
@@ -304,7 +304,9 @@ struct io_streams_t
}
};
-/** Print debug information about the specified IO redirection chain to stderr. */
+#if 0
+// Print debug information about the specified IO redirection chain to stderr.
void io_print(const io_chain_t &chain);
+#endif
#endif