Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 312bc4e

Browse filesBrowse files
tniessenrichardlau
authored andcommitted
sqlite: avoid useless call to FromMaybe()
PR-URL: #59490 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 9a05107 commit 312bc4e
Copy full SHA for 312bc4e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎src/node_sqlite.cc‎

Copy file name to clipboardExpand all lines: src/node_sqlite.cc
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,7 @@ class BackupJob : public ThreadPoolWork {
504504

505505
Local<Value> argv[] = {progress_info};
506506
TryCatch try_catch(env()->isolate());
507-
fn->Call(env()->context(), Null(env()->isolate()), 1, argv)
508-
.FromMaybe(Local<Value>());
507+
USE(fn->Call(env()->context(), Null(env()->isolate()), 1, argv));
509508
if (try_catch.HasCaught()) {
510509
Finalize();
511510
resolver->Reject(env()->context(), try_catch.Exception()).ToChecked();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.