AP_Logger: must set default fd = -1

This commit is contained in:
xianglunkai 2022-04-15 16:54:56 +08:00 committed by Andrew Tridgell
parent a7abfeeb4a
commit f7f053191a

View File

@ -528,7 +528,7 @@ private:
void reset();
void remove_and_free(file_list *victim);
struct file_list *head, *tail;
int fd;
int fd{-1};
uint32_t offset;
bool fast;
uint8_t counter;