mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-30 16:13:51 +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;
|
int ofs = SID_SIZE;
|
||||||
|
|
||||||
uint8_t flags = 0; // TODO flags
|
//TODO flags byte uint8_t flags = 0;
|
||||||
struct meshms_metadata metadata;
|
struct meshms_metadata metadata;
|
||||||
bzero(&metadata, sizeof metadata);
|
bzero(&metadata, sizeof metadata);
|
||||||
int unpacked;
|
int unpacked;
|
||||||
@ -426,7 +426,7 @@ static enum meshms_status read_known_conversations(rhizome_manifest *m, struct m
|
|||||||
}else if(version>=2){
|
}else if(version>=2){
|
||||||
uint64_t delta=0;
|
uint64_t delta=0;
|
||||||
|
|
||||||
flags = buffer[ofs++];
|
ofs ++; // flags = buffer[ofs++];
|
||||||
|
|
||||||
if ((unpacked = unpack_uint(buffer+ofs, bytes-ofs, &metadata.their_size)) == -1)
|
if ((unpacked = unpack_uint(buffer+ofs, bytes-ofs, &metadata.their_size)) == -1)
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user