summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-program-choosing.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-05 02:14:49 +0100
committerZenWalker <[email protected]>2019-03-07 00:00:20 +0100
commitfc9a637006bab37dbb73c678983032111831a623 (patch)
treecd6e7ccb63135b737b244a89f0589603e3aecf1c /libcaja-private/caja-program-choosing.c
parentee16c212d5ce11f6d782f86bb62302356b163462 (diff)
downloadcaja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2
caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz
avoid variables set but not used
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)
{