Skip to content

Commit fc49424

Browse files
committed
[app-isoldr] Removed unnecessary mutex unlock and fix warn.
This should fix issue DC-SWAT#136
1 parent 330ab48 commit fc49424

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

applications/iso_loader/modules/module.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,6 @@ static void *selectFile_worker(void *p) {
15221522

15231523
strncpy(self.filename, filename, NAME_MAX);
15241524
trailer_path = relativeFilename("trailer.avi");
1525-
mutex_unlock(&self.select_mutex);
15261525

15271526
showCover();
15281527
isoLoader_LoadPreset(NULL);
@@ -1649,7 +1648,7 @@ static int scanDirectoryForImage(const char *dir_path, const char *dir_name, cha
16491648
int subdir_found = 0;
16501649
int best_priority = IMG_PRIORITY_NONE;
16511650
int same_priority_count = 0;
1652-
dirent_t *dent;
1651+
const dirent_t *dent;
16531652

16541653
result[0] = '\0';
16551654

0 commit comments

Comments
 (0)