From 9dd6873e5855f69b01f2e3705a49a4231c992e71 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 3 Apr 2016 19:02:46 -0700 Subject: 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". --- src/common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 74640988..d6eb0191 100644 --- a/src/common.h +++ b/src/common.h @@ -811,9 +811,6 @@ ssize_t read_loop(int fd, void *buff, size_t count); void debug(int level, const char *msg, ...); void debug(int level, const wchar_t *msg, ...); -/** Writes a string to stderr, followed by a newline */ -void print_stderr(const wcstring &str); - /** Replace special characters with backslash escape sequences. Newline is replaced with \n, etc. -- cgit v1.2.3