[nautilus] monitor: Remove unused variable
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] monitor: Remove unused variable
- Date: Wed, 12 Sep 2018 12:43:47 +0000 (UTC)
commit 8acd51afd86b9c80daf7e3c284dee45ec300c965
Author: Yi-Soo An <yisooan gmail com>
Date: Mon Sep 10 10:22:57 2018 +0900
monitor: Remove unused variable
src/nautilus-monitor.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/nautilus-monitor.c b/src/nautilus-monitor.c
index 12710b83e..cf3ef4e12 100644
--- a/src/nautilus-monitor.c
+++ b/src/nautilus-monitor.c
@@ -83,9 +83,8 @@ dir_changed (GFileMonitor *monitor,
GFileMonitorEvent event_type,
gpointer user_data)
{
- char *uri, *to_uri;
+ char *to_uri;
- uri = g_file_get_uri (child);
to_uri = NULL;
if (other_file)
{
@@ -122,7 +121,6 @@ dir_changed (GFileMonitor *monitor,
break;
}
- g_free (uri);
g_free (to_uri);
schedule_call_consume_changes ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]