[tracker] libtracker-fts: Removed unused variable and superfluous parameter in alter_table func



commit a5caf34db7324e977afc97bd7f15d2ef0c66adc7
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Mar 5 21:06:56 2013 +0000

    libtracker-fts: Removed unused variable and superfluous parameter in alter_table func

 src/libtracker-fts/tracker-fts.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-fts.c b/src/libtracker-fts/tracker-fts.c
index 18c4876..530d831 100644
--- a/src/libtracker-fts/tracker-fts.c
+++ b/src/libtracker-fts/tracker-fts.c
@@ -307,12 +307,11 @@ tracker_fts_alter_table (sqlite3    *db,
                         GHashTable *grouped_columns)
 {
        gchar *query, *tmp_name;
-       sqlite3_stmt *stmt;
        int rc;
 
        tmp_name = g_strdup_printf ("%s_TMP", table_name);
 
-       query = g_strdup_printf ("DROP VIEW fts_view", table_name);
+       query = g_strdup_printf ("DROP VIEW fts_view");
        rc = sqlite3_prepare_v2 (db, query, -1, NULL, NULL);
 
        if (!tracker_fts_create_table (db, tmp_name, tables, grouped_columns)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]