mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 00:28:10 +02:00
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.
This commit is contained in:
13
log.c
13
log.c
@ -171,19 +171,6 @@ log_debug2(const char *msg, ...)
|
||||
}
|
||||
}
|
||||
|
||||
/* Log a debug message at level 3. */
|
||||
void printflike1
|
||||
log_debug3(const char *msg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
if (log_level > 2) {
|
||||
va_start(ap, msg);
|
||||
log_vwrite(LOG_DEBUG, msg, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
||||
/* Log a critical error, with error string if necessary, and die. */
|
||||
__dead void
|
||||
log_vfatal(const char *msg, va_list ap)
|
||||
|
Reference in New Issue
Block a user