Mercurial > pidgin.yaz
changeset 15611:841669fc7af3
Unused variables
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 11 Feb 2007 00:27:46 +0000 |
parents | eba9715548d7 |
children | 5dd46cb1a80a |
files | libpurple/log.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/log.c Sun Feb 11 00:17:12 2007 +0000 +++ b/libpurple/log.c Sun Feb 11 00:27:46 2007 +0000 @@ -1016,7 +1016,9 @@ gboolean gaim_log_common_is_deletable(GaimLog *log) { GaimLogCommonLoggerData *data; +#ifndef _WIN32 gchar *dirname; +#endif g_return_val_if_fail(log != NULL, FALSE); @@ -1435,7 +1437,7 @@ static char *txt_logger_read(GaimLog *log, GaimLogReadFlags *flags) { - char *read, *minus_header, *minus_header2; + char *read, *minus_header; GaimLogCommonLoggerData *data = log->logger_data; *flags = 0; if (!data || !data->path) @@ -1745,7 +1747,7 @@ { struct old_logger_data *data = log->logger_data; FILE *file = g_fopen(gaim_stringref_value(data->pathref), "rb"); - char *tmp, *read = g_malloc(data->length + 1); + char *read = g_malloc(data->length + 1); fseek(file, data->offset, SEEK_SET); fread(read, data->length, 1, file); fclose(file);