RagePhoto.cpp: remove unused uInt32Buffer

This commit is contained in:
Syping 2024-04-22 21:26:16 +02:00
parent bb2b98e5d8
commit 9379595283

View file

@ -763,7 +763,6 @@ bool RagePhoto::save(char *data, uint32_t photoFormat, RagePhotoData *rp_data, R
const size_t length = saveSize(photoFormat, rp_data, nullptr); const size_t length = saveSize(photoFormat, rp_data, nullptr);
size_t pos = 0; size_t pos = 0;
char uInt32Buffer[4];
#if __BYTE_ORDER == __LITTLE_ENDIAN #if __BYTE_ORDER == __LITTLE_ENDIAN
writeBuffer(&photoFormat, data, &pos, length, 4); writeBuffer(&photoFormat, data, &pos, length, 4);