Fixed all build warnings

This commit is contained in:
Gunnar Skjold
2022-10-13 20:33:59 +02:00
parent 6d81b0a856
commit fa299198fc
8 changed files with 11 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ int8_t GCMParser::parse(uint8_t *d, DataParserContext &ctx) {
memcpy(ctx.system_title, ptr, systemTitleLength);
memcpy(initialization_vector, ctx.system_title, systemTitleLength);
int len;
int len = 0;
int headersize = 2 + systemTitleLength;
ptr += systemTitleLength;
if(((*ptr) & 0xFF) == 0x81) {