[tracker/tracker-0.6] Bug NB#131278 - Random tracker-indexer-71C9-11-2408.rcore crash observed.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.6] Bug NB#131278 - Random tracker-indexer-71C9-11-2408.rcore crash observed.
- Date: Tue, 22 Sep 2009 15:15:53 +0000 (UTC)
commit a836a1c10fc2a99e35a4b20b93ad96d8cdb7f6f3
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Sep 22 17:14:48 2009 +0200
Bug NB#131278 - Random tracker-indexer-71C9-11-2408.rcore crash observed.
Don't shadow variable, and don't use it uninitialized.
src/libtracker-common/tracker-hal.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-common/tracker-hal.c b/src/libtracker-common/tracker-hal.c
index 314185a..c0a20b1 100644
--- a/src/libtracker-common/tracker-hal.c
+++ b/src/libtracker-common/tracker-hal.c
@@ -1085,7 +1085,6 @@ hal_device_property_modified_cb (LibHalContext *context,
if (is_mounted) {
LibHalVolume *volume;
const gchar *mount_point;
- const gchar *device_file;
volume = libhal_volume_from_udi (context, udi);
if (!volume) {
@@ -1095,7 +1094,6 @@ hal_device_property_modified_cb (LibHalContext *context,
}
mount_point = libhal_volume_get_mount_point (volume);
- device_file = libhal_volume_get_device_file (volume);
g_message ("HAL device:'%s' with udi:'%s' is now mounted",
device_file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]