diff src/audacious/input.c @ 2331:d7ccaa59630f trunk

[svn] Wiped out some error messages
author mf0102
date Sun, 14 Jan 2007 10:54:06 -0800
parents 3149d4b1a9a9
children f140d0a27093
line wrap: on
line diff
--- a/src/audacious/input.c	Sun Jan 14 02:50:21 2007 -0800
+++ b/src/audacious/input.c	Sun Jan 14 10:54:06 2007 -0800
@@ -424,8 +424,8 @@
     ext = strrchr(filename_proxy, '.') + 1;
 
     use_ext_filter = (fd != NULL &&
-	(!g_strcasecmp(fd->base->uri_id, "/") || 
-	!g_strcasecmp(fd->base->uri_id, "file"))) ? TRUE : FALSE;
+    (!g_strcasecmp(fd->base->uri_id, "/") || 
+    !g_strcasecmp(fd->base->uri_id, "file"))) ? TRUE : FALSE;
 
     for (node = get_input_list(); node != NULL; node = g_list_next(node))
     {
@@ -437,7 +437,7 @@
         vfs_fseek(fd, 0, SEEK_SET);
 
         if (cfg.use_extension_probing == TRUE && ip->vfs_extensions != NULL
-		&& ext != NULL && ext != (gpointer) 0x1 && use_ext_filter == TRUE)
+        && ext != NULL && ext != (gpointer) 0x1 && use_ext_filter == TRUE)
         {
             gint i;
             gboolean is_our_ext = FALSE;
@@ -445,10 +445,10 @@
             for (i = 0; ip->vfs_extensions[i] != NULL; i++)
             {
                 if (str_has_prefix_nocase(ext, ip->vfs_extensions[i]))
-	        {
-		    is_our_ext = TRUE;
-		    break;
-		}
+                {
+                    is_our_ext = TRUE;
+                    break;
+                }
             }
 
             /* not a plugin that supports this extension */
@@ -479,8 +479,8 @@
             }
         }
 
-	if (ret <= -1)
-	    break;
+        if (ret <= -1)
+            break;
     }
 
     g_free(filename_proxy);
@@ -512,7 +512,6 @@
 {
     InputPlugin *ip = NULL;
     BmpTitleInput *input;
-    GList *node;
     gchar *tmp = NULL, *ext;
     gchar *filename_proxy;
 
@@ -524,7 +523,7 @@
 
     ip = input_check_file(filename_proxy, FALSE);
 
-    if (ip && node && ip->get_song_info) {
+    if (ip && ip->get_song_info) {
         ip->get_song_info(filename_proxy, &tmp, length);
         *title = str_to_utf8(tmp);
         g_free(tmp);
@@ -562,29 +561,29 @@
 {
     InputPlugin *ip = NULL;
     TitleInput *input;
-    GList *node;
     gchar *tmp = NULL, *ext;
     gchar *filename_proxy;
 
     if (filename == NULL)
-	return NULL;
+    return NULL;
 
     filename_proxy = g_strdup(filename);
 
     ip = input_check_file(filename_proxy, FALSE);
 
-    if (ip && node && ip->get_song_tuple)
+    if (ip && ip->get_song_tuple)
         input = ip->get_song_tuple(filename_proxy);
-    else {
+    else
+    {
         input = bmp_title_input_new();
 
         tmp = g_strdup(filename);
         if ((ext = strrchr(tmp, '.')))
             *ext = '\0';
 
-	input->track_name = NULL;
-	input->length = -1;
-	input_get_song_info(filename, &input->track_name, &input->length);
+        input->track_name = NULL;
+        input->length = -1;
+        input_get_song_info(filename, &input->track_name, &input->length);
         input->file_name = g_path_get_basename(tmp);
         input->file_ext = ext ? ext + 1 : NULL;
         input->file_path = g_path_get_dirname(tmp);
@@ -670,7 +669,6 @@
 void
 input_file_info_box(const gchar * filename)
 {
-    GList *node;
     InputPlugin *ip;
     gchar *filename_proxy;