summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-02-19 10:13:13 +0100
committerZenWalker <[email protected]>2019-03-04 12:47:36 +0100
commite5cacba4f3c7114c62b819108b44bf777902efbc (patch)
tree56a3dfeb5cc6cb2810e5a19d87197276cc0a999b
parent4ed829a1facce691869942de8f41878771189776 (diff)
downloadcaja-e5cacba4f3c7114c62b819108b44bf777902efbc.tar.bz2
caja-e5cacba4f3c7114c62b819108b44bf777902efbc.tar.xz
drop unused variables
-rw-r--r--eel/eel-string.c2
-rw-r--r--libcaja-private/caja-global-preferences.c1
-rw-r--r--libcaja-private/caja-module.c1
-rw-r--r--libcaja-private/caja-progress-info.c2
-rw-r--r--src/caja-application.c1
-rw-r--r--src/caja-connect-server-dialog.c1
-rw-r--r--src/caja-navigation-window-menus.c1
-rw-r--r--src/caja-window.c1
-rw-r--r--src/file-manager/fm-directory-view.c1
9 files changed, 0 insertions, 11 deletions
diff --git a/eel/eel-string.c b/eel/eel-string.c
index 7d95acdf..64bca4fa 100644
--- a/eel/eel-string.c
+++ b/eel/eel-string.c
@@ -934,8 +934,6 @@ verify_custom (const char *orig, const char *format, ...)
void
eel_self_check_string (void)
{
- int integer;
-
EEL_CHECK_INTEGER_RESULT (eel_strlen (NULL), 0);
EEL_CHECK_INTEGER_RESULT (eel_strlen (""), 0);
EEL_CHECK_INTEGER_RESULT (eel_strlen ("abc"), 3);
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c
index 98f44e80..c5f6f193 100644
--- a/libcaja-private/caja-global-preferences.c
+++ b/libcaja-private/caja-global-preferences.c
@@ -66,7 +66,6 @@ void
caja_global_preferences_init (void)
{
static gboolean initialized = FALSE;
- int i;
if (initialized)
{
diff --git a/libcaja-private/caja-module.c b/libcaja-private/caja-module.c
index 023c22ea..e2ec7ea7 100644
--- a/libcaja-private/caja-module.c
+++ b/libcaja-private/caja-module.c
@@ -257,7 +257,6 @@ void
caja_module_setup (void)
{
static gboolean initialized = FALSE;
- GList *res;
if (!initialized)
{
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c
index 4e331f1c..8d6885c4 100644
--- a/libcaja-private/caja-progress-info.c
+++ b/libcaja-private/caja-progress-info.c
@@ -940,8 +940,6 @@ delayed_window_showup (CajaProgressInfo *info)
static void
new_op_started (CajaProgressInfo *info)
{
- GtkWidget * container;
-
g_signal_handlers_disconnect_by_func (info, (GCallback)new_op_started, NULL);
if (!caja_progress_info_get_is_finished (info)) {
diff --git a/src/caja-application.c b/src/caja-application.c
index ce9c57e1..c82f5ec1 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -2350,7 +2350,6 @@ static void
caja_application_startup (GApplication *app)
{
GList *drives;
- CajaApplication *application;
CajaApplication *self = CAJA_APPLICATION (app);
GApplication *instance;
gboolean exit_with_last_window;
diff --git a/src/caja-connect-server-dialog.c b/src/caja-connect-server-dialog.c
index 65cfb8ed..c612fcda 100644
--- a/src/caja-connect-server-dialog.c
+++ b/src/caja-connect-server-dialog.c
@@ -842,7 +842,6 @@ static void
caja_connect_server_dialog_init (CajaConnectServerDialog *dialog)
{
GtkWidget *label;
- GtkWidget *alignment;
GtkWidget *content_area;
GtkWidget *combo, *grid;
GtkWidget *vbox, *hbox, *connect_button, *checkbox;
diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c
index d2cc2bac..abf59b1f 100644
--- a/src/caja-navigation-window-menus.c
+++ b/src/caja-navigation-window-menus.c
@@ -456,7 +456,6 @@ refresh_go_menu (CajaNavigationWindow *window)
GtkUIManager *ui_manager;
GList *node;
int index;
- int i;
g_assert (CAJA_IS_NAVIGATION_WINDOW (window));
diff --git a/src/caja-window.c b/src/caja-window.c
index c584b87a..262e19f4 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -380,7 +380,6 @@ static void
update_cursor (CajaWindow *window)
{
CajaWindowSlot *slot;
- GdkCursor *cursor;
slot = window->details->active_pane->active_slot;
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 3c61e5a6..60704617 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -4689,7 +4689,6 @@ static void
reset_open_with_menu (FMDirectoryView *view, GList *selection)
{
GList *applications, *node;
- CajaFile *file;
gboolean submenu_visible, filter_default;
int num_applications;
int index;