[Rhythmbox-devel] [Patch] CVS fails to build
- From: Christian Becke <christianbecke web de>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] [Patch] CVS fails to build
- Date: Tue, 18 Jul 2006 20:02:23 +0200
Hi,
CVS from Tue, 18 Jul 2006, 20:40 CEST failed to build here due to a
possibly uninitialized variable fmt in function rhythmdb_query_to_string
(in rhythmdb/rhythmdb-query.c). Attached patch fixed it for me.
Regards,
Christian
--- rhythmdb/rhythmdb-query.c.old 2006-07-18 19:21:46.000000000 +0200
+++ rhythmdb/rhythmdb-query.c 2006-07-18 19:40:02.000000000 +0200
@@ -758,10 +758,12 @@
{
GString *buf;
int i;
+ char *fmt;
+
+ fmt = NULL;
buf = g_string_sized_new (100);
for (i = 0; i < query->len; i++) {
- char *fmt;
RhythmDBQueryData *data = g_ptr_array_index (query, i);
switch (data->type) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]