declaration and initialization in one step avoids c99ism

2008-05-19  Hans Breuer  <hans@breuer.org>

	* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
	and initialization in one step avoids c99ism

svn path=/trunk/; revision=7052
This commit is contained in:
Hans Breuer 2008-06-16 20:34:42 +00:00 committed by Hans Breuer
parent 9c17697b56
commit 890d13b40e
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-05-19 Hans Breuer <hans@breuer.org>
* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
and initialization in one step avoids c99ism
2008-06-16 Christian Persch <chpe@gnome.org>
* gio/gappinfo.c

View File

@ -194,9 +194,7 @@ _g_local_file_enumerator_new (GLocalFile *file,
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;