aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common.cpp
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/common.cpp
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/common.cpp')
-rw-r--r--src/common.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common.cpp b/src/common.cpp
index a796baca..84c3de65 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -689,11 +689,6 @@ void debug(int level, const char *msg, ...)
errno = errno_old;
}
-void print_stderr(const wcstring &str)
-{
- fprintf(stderr, "%ls\n", str.c_str());
-}
-
void read_ignore(int fd, void *buff, size_t count)
{
size_t ignore __attribute__((unused));