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 99d94e1 commit 6cd357bCopy full SHA for 6cd357b
storage/src/android/storage_reference_android.cc
@@ -699,7 +699,6 @@ void StorageReferenceInternal::CppByteDownloaderWriteBytes(
699
if (!buffer_ptr) return;
700
FIREBASE_ASSERT(buffer_offset + num_bytes_to_copy <= buffer_size);
701
702
- void* dest = reinterpret_cast<void*>(buffer_ptr);
703
jbyte* jbytes = env->GetByteArrayElements(byte_array, nullptr);
704
memcpy(reinterpret_cast<void*>(buffer_ptr + buffer_offset),
705
reinterpret_cast<void*>(jbytes), num_bytes_to_copy);
0 commit comments