[tracker: 4/13] Removed unwanted return statements
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 4/13] Removed unwanted return statements
- Date: Sun, 23 May 2021 01:05:16 +0000 (UTC)
commit d9c84159af00632340736592e829aac326abf22d
Author: nitinosiris <nitinwartkar58 gmail com>
Date: Thu May 20 17:10:11 2021 +0530
Removed unwanted return statements
src/libtracker-sparql/tracker-connection.c | 14 +++++------
src/libtracker-sparql/tracker-cursor.c | 12 +++++-----
src/libtracker-sparql/tracker-statement.c | 38 +++++++++++++++---------------
3 files changed, 32 insertions(+), 32 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.c b/src/libtracker-sparql/tracker-connection.c
index d21bce3e2..fcb2d2ecd 100644
--- a/src/libtracker-sparql/tracker-connection.c
+++ b/src/libtracker-sparql/tracker-connection.c
@@ -350,10 +350,10 @@ tracker_sparql_connection_update (TrackerSparqlConnection *connection,
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
g_return_if_fail (!error || !*error);
- return TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->update (connection,
- sparql,
- cancellable,
- error);
+ TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->update (connection,
+ sparql,
+ cancellable,
+ error);
}
/**
@@ -402,9 +402,9 @@ tracker_sparql_connection_update_finish (TrackerSparqlConnection *connection,
g_return_if_fail (G_IS_ASYNC_RESULT (res));
g_return_if_fail (!error || !*error);
- return TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->update_finish (connection,
- res,
- error);
+ TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->update_finish (connection,
+ res,
+ error);
}
/**
diff --git a/src/libtracker-sparql/tracker-cursor.c b/src/libtracker-sparql/tracker-cursor.c
index 4f2e9a5ae..3e32b3320 100644
--- a/src/libtracker-sparql/tracker-cursor.c
+++ b/src/libtracker-sparql/tracker-cursor.c
@@ -414,7 +414,7 @@ tracker_sparql_cursor_close (TrackerSparqlCursor *cursor)
{
g_return_if_fail (TRACKER_IS_SPARQL_CURSOR (cursor));
- return TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->close (cursor);
+ TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->close (cursor);
}
/**
@@ -487,10 +487,10 @@ tracker_sparql_cursor_next_async (TrackerSparqlCursor *cursor,
g_return_if_fail (TRACKER_IS_SPARQL_CURSOR (cursor));
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- return TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->next_async (cursor,
- cancellable,
- callback,
- user_data);
+ TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->next_async (cursor,
+ cancellable,
+ callback,
+ user_data);
}
/**
@@ -536,5 +536,5 @@ tracker_sparql_cursor_rewind (TrackerSparqlCursor *cursor)
{
g_return_if_fail (TRACKER_IS_SPARQL_CURSOR (cursor));
- return TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->rewind (cursor);
+ TRACKER_SPARQL_CURSOR_GET_CLASS (cursor)->rewind (cursor);
}
diff --git a/src/libtracker-sparql/tracker-statement.c b/src/libtracker-sparql/tracker-statement.c
index 54cce281c..c3d0ce30b 100644
--- a/src/libtracker-sparql/tracker-statement.c
+++ b/src/libtracker-sparql/tracker-statement.c
@@ -214,9 +214,9 @@ tracker_sparql_statement_bind_boolean (TrackerSparqlStatement *stmt,
g_return_if_fail (TRACKER_IS_SPARQL_STATEMENT (stmt));
g_return_if_fail (name != NULL);
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_boolean (stmt,
- name,
- value);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_boolean (stmt,
+ name,
+ value);
}
/**
@@ -235,9 +235,9 @@ tracker_sparql_statement_bind_int (TrackerSparqlStatement *stmt,
g_return_if_fail (TRACKER_IS_SPARQL_STATEMENT (stmt));
g_return_if_fail (name != NULL);
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_int (stmt,
- name,
- value);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_int (stmt,
+ name,
+ value);
}
/**
@@ -256,9 +256,9 @@ tracker_sparql_statement_bind_double (TrackerSparqlStatement *stmt,
g_return_if_fail (TRACKER_IS_SPARQL_STATEMENT (stmt));
g_return_if_fail (name != NULL);
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_double (stmt,
- name,
- value);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_double (stmt,
+ name,
+ value);
}
/**
@@ -278,9 +278,9 @@ tracker_sparql_statement_bind_string (TrackerSparqlStatement *stmt,
g_return_if_fail (name != NULL);
g_return_if_fail (value != NULL);
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_string (stmt,
- name,
- value);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_string (stmt,
+ name,
+ value);
}
/**
@@ -302,9 +302,9 @@ tracker_sparql_statement_bind_datetime (TrackerSparqlStatement *stmt,
g_return_if_fail (name != NULL);
g_return_if_fail (value != NULL);
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_datetime (stmt,
- name,
- value);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->bind_datetime (stmt,
+ name,
+ value);
}
/**
@@ -350,10 +350,10 @@ tracker_sparql_statement_execute_async (TrackerSparqlStatement *stmt,
g_return_if_fail (TRACKER_IS_SPARQL_STATEMENT (stmt));
g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
- return TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->execute_async (stmt,
- cancellable,
- callback,
- user_data);
+ TRACKER_SPARQL_STATEMENT_GET_CLASS (stmt)->execute_async (stmt,
+ cancellable,
+ callback,
+ user_data);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]