From 45509b2576330623b61202253ffa2813fcea859b Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 5 Jun 2008 19:47:04 +0000 Subject: Remove useless braces on if() statement. Patch by Guillaume Lecerf git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26993 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmenu/menu_filesel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmenu/menu_filesel.c b/libmenu/menu_filesel.c index 135d57224a..51436a7b6d 100644 --- a/libmenu/menu_filesel.c +++ b/libmenu/menu_filesel.c @@ -412,9 +412,8 @@ static int open_fs(menu_t* menu, char* args) { path = malloc(st.st_size+1); path[st.st_size] = '\0'; if ((read(path_fp, path, st.st_size) == st.st_size) && path[0] == '/' - && !stat(path, &st) && S_ISDIR(st.st_mode)){ + && !stat(path, &st) && S_ISDIR(st.st_mode)) freepath = path; - } else { free(path); path = NULL; -- cgit v1.2.3