mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 04:05:11 +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>
|
2008-06-16 Christian Persch <chpe@gnome.org>
|
||||||
|
|
||||||
* gio/gappinfo.c
|
* gio/gappinfo.c
|
||||||
|
@ -194,9 +194,7 @@ _g_local_file_enumerator_new (GLocalFile *file,
|
|||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GLocalFileEnumerator *local;
|
GLocalFileEnumerator *local;
|
||||||
char *filename;
|
char *filename = g_file_get_path (G_FILE (file));
|
||||||
|
|
||||||
filename = g_file_get_path (G_FILE (file));
|
|
||||||
|
|
||||||
#ifdef USE_GDIR
|
#ifdef USE_GDIR
|
||||||
GError *dir_error;
|
GError *dir_error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user