浏览代码

Simplify condition

master
sin 10 年前
父节点
当前提交
3b5fe15166
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. +3
    -5
      noice.c

+ 3
- 5
noice.c 查看文件

@@ -365,12 +365,10 @@ canopendir(char *path)
DIR *dirp;

dirp = opendir(path);
if (dirp == NULL) {
if (dirp == NULL)
return 0;
} else {
closedir(dirp);
return 1;
}
closedir(dirp);
return 1;
}

void


正在加载...
取消
保存