We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e8357 commit 1fa6dbaCopy full SHA for 1fa6dba
2 files changed
src/node_crypto.cc
@@ -175,7 +175,7 @@ template int SSLWrap<TLSWrap>::SelectALPNCallback(
175
#endif // TLSEXT_TYPE_application_layer_protocol_negotiation
176
177
static void crypto_threadid_cb(CRYPTO_THREADID* tid) {
178
- static_assert(sizeof(uv_thread_t) <= sizeof(void*), // NOLINT(runtime/sizeof)
+ static_assert(sizeof(uv_thread_t) <= sizeof(void*),
179
"uv_thread_t does not fit in a pointer");
180
CRYPTO_THREADID_set_pointer(tid, reinterpret_cast<void*>(uv_thread_self()));
181
}
@@ -693,7 +693,7 @@ void SecureContext::AddCACert(const FunctionCallbackInfo<Value>& args) {
693
694
unsigned cert_count = 0;
695
if (BIO* bio = LoadBIO(env, args[0])) {
696
- while (X509* x509 = // NOLINT(whitespace/if-one-line)
+ while (X509* x509 =
697
PEM_read_bio_X509(bio, nullptr, CryptoPemCallback, nullptr)) {
698
X509_STORE_add_cert(sc->ca_store_, x509);
699
SSL_CTX_add_client_CA(sc->ctx_, x509);
src/spawn_sync.cc
@@ -992,7 +992,7 @@ int SyncProcessRunner::CopyJsStringArray(Local<Value> js_value,
992
data_size = 0;
993
for (uint32_t i = 0; i < length; i++) {
994
data_size += StringBytes::StorageSize(isolate, js_array->Get(i), UTF8) + 1;
995
- data_size = ROUND_UP(data_size, sizeof(void*)); // NOLINT(runtime/sizeof)
+ data_size = ROUND_UP(data_size, sizeof(void*));
996
997
998
buffer = new char[list_size + data_size];
@@ -1008,8 +1008,7 @@ int SyncProcessRunner::CopyJsStringArray(Local<Value> js_value,
1008
js_array->Get(i),
1009
UTF8);
1010
buffer[data_offset++] = '\0';
1011
- data_offset = ROUND_UP(data_offset,
1012
- sizeof(void*)); // NOLINT(runtime/sizeof)
+ data_offset = ROUND_UP(data_offset, sizeof(void*));
1013
1014
1015
list[length] = nullptr;
0 commit comments