Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -176,7 +176,6 @@ Java_edu_wpi_first_hal_can_CANJNI_readCANStreamSession
// OOM, just return
elem = JLocal<jobject>{env, CreateCANStreamMessage(env)};
if (elem) {
std::printf("Allocated and set object\n");
env->SetObjectArrayElement(messages, i, elem);
} else {
return 0;