svnno****@sourc*****
svnno****@sourc*****
Wed Feb 27 20:02:13 JST 2008
Revision: 3408 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3408 Author: ikezoe Date: 2008-02-27 20:02:13 +0900 (Wed, 27 Feb 2008) Log Message: ----------- suppress warnings. Modified Paths: -------------- kazehakase/trunk/src/kz-xml.c Modified: kazehakase/trunk/src/kz-xml.c =================================================================== --- kazehakase/trunk/src/kz-xml.c 2008-02-27 10:54:44 UTC (rev 3407) +++ kazehakase/trunk/src/kz-xml.c 2008-02-27 11:02:13 UTC (rev 3408) @@ -316,6 +316,7 @@ FILE *fp; const gchar *file = filename ? filename : xml->file; gchar *str; + size_t len; g_return_val_if_fail(file && *file, FALSE); @@ -331,7 +332,7 @@ return FALSE; } - fwrite(str, strlen(str), 1, fp); + len = fwrite(str, strlen(str), 1, fp); fclose(fp); g_free(str);