Skip to content

Commit 74ab710

Browse files
geeksilva97aduh95
authored andcommitted
src,sqlite: remove dead code
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com> PR-URL: #63204 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent ad91efc commit 74ab710

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/node_sqlite.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,9 +2432,6 @@ void DatabaseSync::LoadExtension(const FunctionCallbackInfo<Value>& args) {
24322432
BufferValue entryPoint(isolate, args[1]);
24332433
CHECK_NOT_NULL(*path);
24342434
ToNamespacedPath(env, &path);
2435-
if (*entryPoint == nullptr) {
2436-
ToNamespacedPath(env, &entryPoint);
2437-
}
24382435
THROW_IF_INSUFFICIENT_PERMISSIONS(
24392436
env, permission::PermissionScope::kFileSystemRead, path.ToStringView());
24402437
char* errmsg = nullptr;

0 commit comments

Comments
 (0)