mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_ROMFS: fixed build warning
This commit is contained in:
parent
a9946b41e9
commit
cfed364dd0
@ -47,7 +47,7 @@ const uint8_t *AP_ROMFS::find_file(const char *name, uint32_t &size)
|
|||||||
*/
|
*/
|
||||||
const uint8_t *AP_ROMFS::find_decompress(const char *name, uint32_t &size)
|
const uint8_t *AP_ROMFS::find_decompress(const char *name, uint32_t &size)
|
||||||
{
|
{
|
||||||
uint32_t compressed_size;
|
uint32_t compressed_size = 0;
|
||||||
const uint8_t *compressed_data = find_file(name, compressed_size);
|
const uint8_t *compressed_data = find_file(name, compressed_size);
|
||||||
if (!compressed_data) {
|
if (!compressed_data) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user