[MPlayer-cvslog] r26993 - trunk/libmenu/menu_filesel.c

ben subversion at mplayerhq.hu
Thu Jun 5 21:47:05 CEST 2008


Author: ben
Date: Thu Jun  5 21:47:04 2008
New Revision: 26993

Log:
Remove useless braces on if() statement.
Patch by Guillaume Lecerf <foxcore at gmail com>



Modified:
   trunk/libmenu/menu_filesel.c

Modified: trunk/libmenu/menu_filesel.c
==============================================================================
--- trunk/libmenu/menu_filesel.c	(original)
+++ trunk/libmenu/menu_filesel.c	Thu Jun  5 21:47:04 2008
@@ -412,9 +412,8 @@ static int open_fs(menu_t* menu, char* a
           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;



More information about the MPlayer-cvslog mailing list