[tracker/gdbus-porting] tracker-extract: Fix use of uninitialized variable
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting] tracker-extract: Fix use of uninitialized variable
- Date: Tue, 11 Jan 2011 16:45:54 +0000 (UTC)
commit 95dc2c7cfcd98a3560ffb20a7ad1014a259e8284
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Jan 11 17:45:37 2011 +0100
tracker-extract: Fix use of uninitialized variable
src/tracker-extract/tracker-extract.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 6e80b09..94afe1b 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -792,6 +792,12 @@ handle_method_call_get_metadata_fast (TrackerExtract *object,
fd_list = g_dbus_message_get_unix_fd_list (method_message);
+ request = tracker_g_dbus_request_begin (invocation,
+ "%s(uri:'%s', mime:%s)",
+ __FUNCTION__,
+ uri,
+ mime);
+
if ((fd = g_unix_fd_list_get (fd_list, index_fd, &error)) == -1) {
tracker_dbus_request_end (request, error);
reply = g_dbus_message_new_method_error_literal (method_message,
@@ -801,12 +807,6 @@ handle_method_call_get_metadata_fast (TrackerExtract *object,
goto bail_out;
}
- request = tracker_g_dbus_request_begin (invocation,
- "%s(uri:'%s', mime:%s)",
- __FUNCTION__,
- uri,
- mime);
-
tracker_dbus_request_debug (request,
" Resetting shutdown timeout");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]