summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-program-choosing.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-program-choosing.c')
-rw-r--r--libcaja-private/caja-program-choosing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-program-choosing.c b/libcaja-private/caja-program-choosing.c
index a49a96e9..920261d7 100644
--- a/libcaja-private/caja-program-choosing.c
+++ b/libcaja-private/caja-program-choosing.c
@@ -209,13 +209,12 @@ caja_launch_application_by_uri (GAppInfo *application,
GdkDisplay *display;
GdkAppLaunchContext *launch_context;
CajaIconInfo *icon;
- int count, total;
+ int count;
g_assert (uris != NULL);
/* count the number of uris with local paths */
count = 0;
- total = g_list_length (uris);
locations = NULL;
for (l = uris; l != NULL; l = l->next)
{