Skip to content

Commit

Permalink
remove superfluous null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
kokke committed Sep 15, 2021
1 parent f182b9b commit 7c71bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/crypto_context.cc
Expand Up @@ -1114,7 +1114,7 @@ int SecureContext::TicketKeyCallback(SSL* ssl,
return -1;
}

argv[2] = env != 0 ? v8::True(env->isolate()) : v8::False(env->isolate());
argv[2] = v8::True(env->isolate());

Local<Value> ret;
if (!node::MakeCallback(
Expand Down

0 comments on commit 7c71bef

Please sign in to comment.