mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
Fix build with statvfs
As pointed out in bug 704587, the maze of ifdefs was missing the variable declaration for statfs_result in one case. https://bugzilla.gnome.org/show_bug.cgi?id=704587
This commit is contained in:
parent
023e3b31a5
commit
5843582604
@ -2440,6 +2440,7 @@ is_remote_fs (const gchar *filename)
|
|||||||
|
|
||||||
#elif defined(USE_STATVFS)
|
#elif defined(USE_STATVFS)
|
||||||
struct statvfs statfs_buffer;
|
struct statvfs statfs_buffer;
|
||||||
|
int statfs_result = 0;
|
||||||
|
|
||||||
statfs_result = statvfs (filename, &statfs_buffer);
|
statfs_result = statvfs (filename, &statfs_buffer);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user