# HG changeset patch # User ben # Date 1212695224 0 # Node ID 173347ab9083342974b62d0a29087b85b673c1e6 # Parent 805f7deb1b48eaea56b1c29e9d8e7fb0a6c5095e Remove useless braces on if() statement. Patch by Guillaume Lecerf diff -r 805f7deb1b48 -r 173347ab9083 libmenu/menu_filesel.c --- a/libmenu/menu_filesel.c Thu Jun 05 19:46:16 2008 +0000 +++ b/libmenu/menu_filesel.c Thu Jun 05 19:47:04 2008 +0000 @@ -412,9 +412,8 @@ 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;