drop unused variables
This commit is contained in:
parent
be0d83d681
commit
3b704f53c4
@ -802,7 +802,6 @@ char *log_beautify(log_t *logdata, const char *buf, const char *storename,
|
||||
size_t lots, lon, lom;
|
||||
char *ret;
|
||||
int out;
|
||||
int done;
|
||||
|
||||
assert(buf);
|
||||
|
||||
@ -1285,7 +1284,7 @@ list_t *backlog_lines_from_last_mark(log_t *log, const char *bl,
|
||||
irc_line_init(&l);
|
||||
l.origin = P_IRCMASK;
|
||||
if (dest == cli_nick)
|
||||
l.origin = bl;
|
||||
l.origin = (char *)bl;
|
||||
_irc_line_append(&l, "PRIVMSG");
|
||||
_irc_line_append(&l, dest);
|
||||
_irc_line_append(&l, "End of backlog");
|
||||
|
@ -214,7 +214,6 @@ void print_trace(void)
|
||||
{
|
||||
void *array[32];
|
||||
size_t size;
|
||||
size_t i;
|
||||
|
||||
size = backtrace(array, 32);
|
||||
fflush(conf_global_log_file);
|
||||
|
Loading…
Reference in New Issue
Block a user