glib r7052 - trunk/gio
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7052 - trunk/gio
- Date: Mon, 16 Jun 2008 20:34:42 +0000 (UTC)
Author: hans
Date: Mon Jun 16 20:34:42 2008
New Revision: 7052
URL: http://svn.gnome.org/viewvc/glib?rev=7052&view=rev
Log:
2008-05-19 Hans Breuer <hans breuer org>
* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
and initialization in one step avoids c99ism
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalfileenumerator.c
Modified: trunk/gio/glocalfileenumerator.c
==============================================================================
--- trunk/gio/glocalfileenumerator.c (original)
+++ trunk/gio/glocalfileenumerator.c Mon Jun 16 20:34:42 2008
@@ -194,9 +194,7 @@
GError **error)
{
GLocalFileEnumerator *local;
- char *filename;
-
- filename = g_file_get_path (G_FILE (file));
+ char *filename = g_file_get_path (G_FILE (file));
#ifdef USE_GDIR
GError *dir_error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]