From 38c50c277ac92e32af3d2ff64667fda1cacf22d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B6=E9=87=91=E6=B2=9B?= Date: Thu, 11 Sep 2025 21:16:38 +0800 Subject: [PATCH] bug fix randomaccessfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陶金沛 --- .../mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp b/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp index 953755eb2..197cebc27 100644 --- a/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp +++ b/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp @@ -320,9 +320,6 @@ static ani_object CreateReadStreamOptions(ani_env *env, int64_t start, int64_t e if (end >= 0) { env->Object_SetField_Int(obj, endField, end); } - if (obj == nullptr) { - HILOGE("CreateReadStreamOptions is nullptr"); - } return move(obj); } -- Gitee