提交 7be8184b authored 作者: William King's avatar William King

Redundant code. The if/else block makes more sense than the equivalent in two separate if's.

上级 938699d0
......@@ -25,6 +25,7 @@
*
* Michael Jerris <mike@jerris.com>
* Eliot Gable <egable@gmail.com>
* William King <william.king@quentustech.com>
*
* switch_apr.c -- apr wrappers and extensions
*
......@@ -597,10 +598,6 @@ SWITCH_DECLARE(const char *) switch_dir_next_file(switch_dir_t *thedir, char *bu
name = thedir->finfo.name;
}
if (!name) {
continue;
}
if (name) {
switch_copy_string(buf, name, len);
fname = buf;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论