From 4dca945773ae82d3fe87f8c8cea0d3bad182f66e Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sat, 17 Sep 2016 19:27:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/dirent.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/dirent.c b/src/util/dirent.c index d90330d9..7a1f41e7 100644 --- a/src/util/dirent.c +++ b/src/util/dirent.c @@ -102,10 +102,8 @@ LCUI_DirEntry* LCUI_ReadDirW( LCUI_Dir *dir_data ) } #else struct dirent *d; - _DEBUG_MSG("handle: %p\n", dir_data->handle); d = readdir( dir_data->handle ); if( !d ) { - perror("opendir() failed"); return NULL; } dir_data->entry.dirent = *d;