/pidgin/main: 4dafaadf7d98: Fix a variable set but unused warning
Richard Laager
rlaager at pidgin.im
Sun Jan 13 17:02:38 EST 2013
Changeset: 4dafaadf7d98b6727ae9906abd7b058149102731
Author: Richard Laager <rlaager at pidgin.im>
Date: 2013-01-13 13:54 -0600
Branch: release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/4dafaadf7d98
Description:
Fix a variable set but unused warning
diffstat:
libpurple/plugins/log_reader.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff --git a/libpurple/plugins/log_reader.c b/libpurple/plugins/log_reader.c
--- a/libpurple/plugins/log_reader.c
+++ b/libpurple/plugins/log_reader.c
@@ -921,7 +921,6 @@ static char * msn_logger_read (PurpleLog
xmlnode *to;
enum name_guesses name_guessed = NAME_GUESS_UNKNOWN;
const char *their_name;
- time_t time_unix;
struct tm *tm;
char *timestamp;
char *tmp;
@@ -1104,7 +1103,7 @@ static char * msn_logger_read (PurpleLog
text = g_string_append(text, ";\">");
}
- time_unix = msn_logger_parse_timestamp(message, &tm);
+ msn_logger_parse_timestamp(message, &tm);
timestamp = g_strdup_printf("<font size=\"2\">(%02u:%02u:%02u)</font> ",
tm->tm_hour, tm->tm_min, tm->tm_sec);
More information about the Commits
mailing list