mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-30 08:03:49 +00:00
Remove unused variable
This commit is contained in:
parent
67b9aeeb4e
commit
73b151a3e4
4
meshms.c
4
meshms.c
@ -406,7 +406,7 @@ static enum meshms_status read_known_conversations(rhizome_manifest *m, struct m
|
||||
|
||||
int ofs = SID_SIZE;
|
||||
|
||||
uint8_t flags = 0; // TODO flags
|
||||
//TODO flags byte uint8_t flags = 0;
|
||||
struct meshms_metadata metadata;
|
||||
bzero(&metadata, sizeof metadata);
|
||||
int unpacked;
|
||||
@ -426,7 +426,7 @@ static enum meshms_status read_known_conversations(rhizome_manifest *m, struct m
|
||||
}else if(version>=2){
|
||||
uint64_t delta=0;
|
||||
|
||||
flags = buffer[ofs++];
|
||||
ofs ++; // flags = buffer[ofs++];
|
||||
|
||||
if ((unpacked = unpack_uint(buffer+ofs, bytes-ofs, &metadata.their_size)) == -1)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user