Remove unused variable

This commit is contained in:
Palana 2014-08-23 01:27:13 +02:00
parent db3614b585
commit b0e119a475

View File

@ -23,9 +23,8 @@ static inline void add_path_font(const char *path)
static void add_path_fonts(NSFileManager *file_manager, NSString *path)
{
NSArray *files = NULL;
NSError *error = NULL;
files = [file_manager contentsOfDirectoryAtPath:path error:&error];
files = [file_manager contentsOfDirectoryAtPath:path error:nil];
for (NSString *file in files) {
NSString *full_path = [path stringByAppendingPathComponent:file];