From 558280660418ef9e27e36ddd0619225c691e44b7 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 25 Oct 2012 18:34:52 +0200 Subject: [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 --- libcaja-private/caja-desktop-icon-file.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libcaja-private/caja-desktop-icon-file.c') diff --git a/libcaja-private/caja-desktop-icon-file.c b/libcaja-private/caja-desktop-icon-file.c index c91d2067..bacbe02f 100644 --- a/libcaja-private/caja-desktop-icon-file.c +++ b/libcaja-private/caja-desktop-icon-file.c @@ -365,9 +365,6 @@ caja_desktop_icon_file_set_metadata (CajaFile *file, const char *key, const char *value) { - CajaDesktopIconFile *desktop_file; - - desktop_file = CAJA_DESKTOP_ICON_FILE (file); caja_desktop_set_metadata_string (file, file->details->name, key, value); } @@ -376,9 +373,6 @@ caja_desktop_icon_file_set_metadata_as_list (CajaFile *file, const char *key, char **value) { - CajaDesktopIconFile *desktop_file; - - desktop_file = CAJA_DESKTOP_ICON_FILE (file); caja_desktop_set_metadata_stringv (file, file->details->name, key, (const gchar **) value); } -- cgit v1.2.1