Mercurial > audlegacy
comparison src/audlegacy/playlist.c @ 4865:f51f043d5e4c
Remove one instance where http_flag is declared and assigned, but otherwise unused. From code analysis, unique ID 2JxrMA.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Sun, 19 Apr 2009 23:52:10 +0100 |
parents | 8eee8ee21025 |
children | 985cd1e770df |
comparison
equal
deleted
inserted
replaced
4864:8eee8ee21025 | 4865:f51f043d5e4c |
---|---|
961 return NULL; | 961 return NULL; |
962 | 962 |
963 while ((dir_entry = g_dir_read_name(dir))) { | 963 while ((dir_entry = g_dir_read_name(dir))) { |
964 gchar *filename, *tmp; | 964 gchar *filename, *tmp; |
965 gint ext_flag; | 965 gint ext_flag; |
966 gboolean http_flag; | |
967 | 966 |
968 if (file_is_hidden(dir_entry)) | 967 if (file_is_hidden(dir_entry)) |
969 continue; | 968 continue; |
970 | 969 |
971 tmp = g_build_filename(path, dir_entry, NULL); | 970 tmp = g_build_filename(path, dir_entry, NULL); |
972 filename = g_filename_to_uri(tmp, NULL, NULL); | 971 filename = g_filename_to_uri(tmp, NULL, NULL); |
973 g_free(tmp); | 972 g_free(tmp); |
974 | 973 |
975 ext_flag = filter_by_extension(filename); | 974 ext_flag = filter_by_extension(filename); |
976 http_flag = is_http(filename); | |
977 | 975 |
978 if (vfs_file_test(filename, G_FILE_TEST_IS_DIR)) { /* directory */ | 976 if (vfs_file_test(filename, G_FILE_TEST_IS_DIR)) { /* directory */ |
979 GList *sub; | 977 GList *sub; |
980 gchar *dirfilename = g_filename_from_uri(filename, NULL, NULL); | 978 gchar *dirfilename = g_filename_from_uri(filename, NULL, NULL); |
981 sub = playlist_dir_find_files(dirfilename, background, htab); | 979 sub = playlist_dir_find_files(dirfilename, background, htab); |