chore(cpn): Fix compiler warnings when building (#3383)

* Fix build warnings.

* Rename 'flags' function.
This commit is contained in:
philmoz
2023-05-15 11:24:54 +10:00
committed by GitHub
parent 54483e6c4e
commit d29317ecd0
9 changed files with 11 additions and 14 deletions
+1 -2
View File
@@ -39,7 +39,7 @@ class RleBitmap
{
public:
RleBitmap(const uint8_t *src, size_t offset) :
state(RLE_FIRST_BYTE), src(src), curPtr(src), byte(0), curCount(0), pos(0)
state(RLE_FIRST_BYTE), curPtr(src), byte(0), curCount(0), pos(0)
{
width = *curPtr++;
rawRows = *curPtr++;
@@ -145,7 +145,6 @@ public:
private:
enum State {RLE_FIRST_BYTE, RLE_SECOND_BYTE, RLE_CONTINUE} state;
const uint8_t* src;
const uint8_t* curPtr;
uint8_t width;
-1
View File
@@ -29,7 +29,6 @@
RleFile::RleFile():
eeprom(NULL),
eeprom_size(0),
eeFs(NULL),
eeFsArm(NULL),
eepromFatHeader(NULL)
{
-1
View File
@@ -94,7 +94,6 @@ class RleFile
unsigned int version;
uint8_t *eeprom;
unsigned int eeprom_size;
EeFs *eeFs;
EeFsArm *eeFsArm;
unsigned int eeFsVersion;
unsigned int eeFsBlockSize;