cpw.nader.asynclogging-3: bed508a3: Fixed a warning with gcc

morshed.nader at gmail.com morshed.nader at gmail.com
Tue May 17 00:16:35 EDT 2011


----------------------------------------------------------------------
Revision: bed508a308deb13a3395ba933bd488d96cd43c43
Parent:   bbbce3f1e8f8bb9db5ca5e0d3d5d4d76ad3f3550
Author:   morshed.nader at gmail.com
Date:     05/20/11 18:14:41
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/bed508a308deb13a3395ba933bd488d96cd43c43

Changelog: 

Fixed a warning with gcc

Changes against parent bbbce3f1e8f8bb9db5ca5e0d3d5d4d76ad3f3550

  patched  libpurple/htmllog.c

-------------- next part --------------
============================================================
--- libpurple/htmllog.c	86140bda016b8a24e5a5317649eed75dc6153edc
+++ libpurple/htmllog.c	0985d8b161d6f874fe8b00107c9346cf7dfe96ee
@@ -415,7 +415,6 @@ write_footer(PurpleCommonLog *common_log
 	GFile *file;
 	GFileOutputStream *file_stream;
 	GOutputStream *stream;
-	gssize written;
 
 	file = purple_common_log_get_file(common_log);
 
@@ -428,7 +427,7 @@ write_footer(PurpleCommonLog *common_log
 		return;
 
 	stream = G_OUTPUT_STREAM(file_stream);
-	written = g_output_stream_write(stream, footer, strlen(footer), NULL, NULL);
+	g_output_stream_write(stream, footer, strlen(footer), NULL, NULL);
 	g_object_unref(file_stream);
 }
 


More information about the Commits mailing list