diff options
author | Jasmine Hassan <[email protected]> | 2012-10-25 18:34:52 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-22 05:24:16 +0200 |
commit | 558280660418ef9e27e36ddd0619225c691e44b7 (patch) | |
tree | 0bc0a5f4383d989f02ae856d88451cd47203f83c /libcaja-private/caja-vfs-directory.c | |
parent | ab206cf53ff4380c63f031101c36b6bc0c7a8489 (diff) | |
download | caja-558280660418ef9e27e36ddd0619225c691e44b7.tar.bz2 caja-558280660418ef9e27e36ddd0619225c691e44b7.tar.xz |
[all] silence warnings from GCC 4.6
GCC 4.6 introduced a new warning about variables declared and initialized,
but not really used in the function body. Remove all of these occurrences
to build cleanly.
http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5
Diffstat (limited to 'libcaja-private/caja-vfs-directory.c')
-rw-r--r-- | libcaja-private/caja-vfs-directory.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libcaja-private/caja-vfs-directory.c b/libcaja-private/caja-vfs-directory.c index 2475909e..278992af 100644 --- a/libcaja-private/caja-vfs-directory.c +++ b/libcaja-private/caja-vfs-directory.c @@ -41,9 +41,6 @@ EEL_CLASS_BOILERPLATE (CajaVFSDirectory, static void caja_vfs_directory_init (gpointer object, gpointer klass) { - CajaVFSDirectory *directory; - - directory = CAJA_VFS_DIRECTORY (object); } static gboolean @@ -151,10 +148,8 @@ vfs_is_not_empty (CajaDirectory *directory) static void caja_vfs_directory_class_init (gpointer klass) { - GObjectClass *object_class; CajaDirectoryClass *directory_class; - object_class = G_OBJECT_CLASS (klass); directory_class = CAJA_DIRECTORY_CLASS (klass); directory_class->contains_file = vfs_contains_file; |