[tracker] TrackerMinerObject: Remove unused variables.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] TrackerMinerObject: Remove unused variables.
- Date: Tue, 4 May 2010 12:54:08 +0000 (UTC)
commit c882580d4a1a2cf737513a75cd4f13b99cd044fc
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 4 12:23:10 2010 +0200
TrackerMinerObject: Remove unused variables.
src/libtracker-miner/tracker-miner-object.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 0bed5e7..33827b8 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -671,12 +671,7 @@ static void
sparql_cancelled_cb (GCancellable *cancellable,
AsyncCallData *data)
{
- TrackerMinerPrivate *priv;
-
async_call_data_notify_error (data, 0, "SPARQL operation was cancelled");
-
- priv = TRACKER_MINER_GET_PRIVATE (data->miner);
-
async_call_data_destroy (data, TRUE);
}
@@ -784,14 +779,12 @@ tracker_miner_execute_update (TrackerMiner *miner,
GAsyncReadyCallback callback,
gpointer user_data)
{
- TrackerMinerPrivate *priv;
AsyncCallData *data;
g_return_if_fail (TRACKER_IS_MINER (miner));
g_return_if_fail (sparql != NULL);
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- priv = TRACKER_MINER_GET_PRIVATE (miner);
data = async_call_data_new (miner,
cancellable,
callback,
@@ -850,7 +843,6 @@ tracker_miner_execute_sparql (TrackerMiner *miner,
GAsyncReadyCallback callback,
gpointer user_data)
{
- TrackerMinerPrivate *priv;
AsyncCallData *data;
g_return_if_fail (TRACKER_IS_MINER (miner));
@@ -858,7 +850,6 @@ tracker_miner_execute_sparql (TrackerMiner *miner,
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
g_return_if_fail (callback != NULL);
- priv = TRACKER_MINER_GET_PRIVATE (miner);
data = async_call_data_new (miner, cancellable, callback, user_data, tracker_miner_execute_sparql);
data->id = tracker_resources_sparql_query_async (miner->private->client,
@@ -917,14 +908,12 @@ tracker_miner_execute_batch_update (TrackerMiner *miner,
GAsyncReadyCallback callback,
gpointer user_data)
{
- TrackerMinerPrivate *priv;
AsyncCallData *data;
g_return_if_fail (TRACKER_IS_MINER (miner));
g_return_if_fail (sparql != NULL);
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- priv = TRACKER_MINER_GET_PRIVATE (miner);
data = async_call_data_new (miner, cancellable, callback, user_data, tracker_miner_execute_batch_update);
data->id = tracker_resources_batch_sparql_update_async (miner->private->client,
@@ -976,13 +965,11 @@ tracker_miner_commit (TrackerMiner *miner,
gpointer user_data)
{
- TrackerMinerPrivate *priv;
AsyncCallData *data;
g_return_if_fail (TRACKER_IS_MINER (miner));
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- priv = TRACKER_MINER_GET_PRIVATE (miner);
data = async_call_data_new (miner, cancellable, callback, user_data, tracker_miner_commit);
data->id = tracker_resources_batch_commit_async (miner->private->client,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]