Skip to content

Commit

Permalink
Use unambiguous nullptr in Selektric/native_mocks.cpp.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Feb 3, 2024
1 parent 8aacabe commit 91a78c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Selektric/native_mocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static jstring SystemProperties_get(
jstring keyJ,
jstring defJ
) {
auto key = env->GetStringUTFChars(keyJ, NULL);
auto key = env->GetStringUTFChars(keyJ, nullptr);
if (strcmp("ro.product.cpu.abilist", key)) {
env->ReleaseStringUTFChars(keyJ, key);
return env->NewStringUTF("arm64-v8a,armeabi-v7a");
Expand Down

0 comments on commit 91a78c9

Please sign in to comment.