[maemo-commits] [maemo-commits] r16723 - projects/haf/trunk/hildon-thumbnail/daemon/plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Nov 18 13:01:11 EET 2008
Author: pvanhoof
Date: 2008-11-18 13:01:10 +0200 (Tue, 18 Nov 2008)
New Revision: 16723

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-jpeg-out-plugin.c
Log:
Cleaning up

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-jpeg-out-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-jpeg-out-plugin.c	2008-11-18 11:00:31 UTC (rev 16722)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-jpeg-out-plugin.c	2008-11-18 11:01:10 UTC (rev 16723)
@@ -207,18 +207,18 @@
 			sqlite3_open (dbfile, &db);
 
 		if (db) {
-			gchar *sql, *errm = NULL;
+			gchar *sql;
 			if (create) {
 				sqlite3_exec (db, "create table jpegthumbnails (Path, URI, MTime)" , 
 					      callback, 0, NULL);
 			}
 			sql = g_strdup_printf ("delete from jpegthumbnails where Path = '%s'",
 					       filen);
-			sqlite3_exec (db, sql, callback, 0, &errm);
+			sqlite3_exec (db, sql, callback, 0, NULL);
 			g_free (sql);
 			sql = g_strdup_printf ("insert into jpegthumbnails (Path, URI, MTime) values ('%s', '%s', %d)",
 					       filen, uri, mtime);
-			sqlite3_exec (db, sql, callback, 0, &errm);
+			sqlite3_exec (db, sql, callback, 0, NULL);
 			g_free (sql);
 		}
 


More information about the maemo-commits mailing list