changeset 3693:13bd2580ec18

Fix two gcc warnings.
author Jonathan Schleifer <js@h3c.de>
date Wed, 03 Oct 2007 17:37:30 +0200
parents 9f7b621249a0
children f527ac16f95e
files src/audacious/tuple_compiler.c src/libid3tag/file.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple_compiler.c	Tue Oct 02 21:52:34 2007 -0500
+++ b/src/audacious/tuple_compiler.c	Wed Oct 03 17:37:30 2007 +0200
@@ -511,7 +511,8 @@
 
 static TupleEvalNode *tuple_compiler_pass2(gboolean *changed, TupleEvalContext *ctx, TupleEvalNode *expr)
 {
-  TupleEvalNode *curr = expr, *res = NULL;
+  /* TupleEvalNode *curr = expr; */
+  TupleEvalNode *res = NULL;
   assert(ctx != NULL);
   assert(expr != NULL);
   
--- a/src/libid3tag/file.c	Tue Oct 02 21:52:34 2007 -0500
+++ b/src/libid3tag/file.c	Wed Oct 03 17:37:30 2007 +0200
@@ -197,6 +197,7 @@
  * NAME:	del_filetag()
  * DESCRIPTION:	delete a file tag entry
  */
+/*
 static
 void del_filetag(struct id3_file *file, unsigned int index)
 {
@@ -209,6 +210,7 @@
 
   --file->ntags;
 }
+*/
 
 /*
  * NAME:	add_tag()