From 3b704f53c4cbc849d0a83cf171393930280a9d76 Mon Sep 17 00:00:00 2001 From: Arnaud Cornet Date: Thu, 15 Jan 2009 22:56:42 +0100 Subject: [PATCH] drop unused variables --- src/log.c | 3 +-- src/util.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/log.c b/src/log.c index a33f319..e493f6f 100644 --- a/src/log.c +++ b/src/log.c @@ -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"); diff --git a/src/util.c b/src/util.c index 63d837b..f55d57c 100644 --- a/src/util.c +++ b/src/util.c @@ -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);