0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Remove useless braces on if() statement.

Patch by Guillaume Lecerf <foxcore at gmail com>



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26993 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-06-05 19:47:04 +00:00
parent 8d4cdcc158
commit 45509b2576

View File

@ -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;