diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-11 00:32:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-11 00:32:15 -0400 |
commit | a588b41b807c28c1905590bebbcb8602f8f8d69c (patch) | |
tree | ef4f29a1f9a04ddc34e9bda322f08ba2aeb37299 /programs | |
parent | f41574882b828bb848a4a89f72673341b5c82f36 (diff) | |
download | gvfs-a588b41b807c28c1905590bebbcb8602f8f8d69c.tar.gz |
Remove dead code
This memory leak was reported by clang. Bug 594829.
Diffstat (limited to 'programs')
-rw-r--r-- | programs/gvfs-mount.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/programs/gvfs-mount.c b/programs/gvfs-mount.c index 740fac4f..9ec68a5c 100644 --- a/programs/gvfs-mount.c +++ b/programs/gvfs-mount.c @@ -893,10 +893,8 @@ monitor_drive_eject_button (GVolumeMonitor *volume_monitor, GDrive *drive) static void monitor (void) { - GMainLoop *loop; GVolumeMonitor *volume_monitor; - loop = g_main_loop_new (NULL, FALSE); volume_monitor = g_volume_monitor_get (); g_signal_connect (volume_monitor, "mount-added", (GCallback) monitor_mount_added, NULL); |