From 0a8226a08d8137d11836a247a8ae5a458609251f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 21 Oct 2014 02:46:37 +0200 Subject: [PATCH] dir_list.c - Get rid of dependencies on miscellaneous.h --- dir_list.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dir_list.c b/dir_list.c index b91bc4614f..bcad2bb7d3 100644 --- a/dir_list.c +++ b/dir_list.c @@ -17,7 +17,6 @@ #include "dir_list.h" #include "file_path.h" #include "compat/strl.h" -#include "miscellaneous.h" #if defined(_WIN32) #ifdef _MSC_VER @@ -151,7 +150,6 @@ struct string_list *dir_list_new(const char *dir, return list; error: - RARCH_ERR("Failed to open directory: \"%s\"\n", dir); if (hFind != INVALID_HANDLE_VALUE) FindClose(hFind); @@ -251,7 +249,6 @@ struct string_list *dir_list_new(const char *dir, return list; error: - RARCH_ERR("Failed to open directory: \"%s\"\n", dir); if (directory) closedir(directory);