mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
9c17697b56
commit
890d13b40e
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user