mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-06-02 23:40:49 +00:00
Eliminate unused variable
This commit is contained in:
parent
4428a76379
commit
3f0008bb39
@ -78,9 +78,9 @@ int overlay_packet_init_header(int packet_version, int encapsulation,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// a frame destined for one of our local addresses, or broadcast, has arrived. Process it.
|
// a frame destined for one of our local addresses, or broadcast, has arrived. Process it.
|
||||||
int process_incoming_frame(time_ms_t now, struct overlay_interface *interface, struct overlay_frame *f, struct decode_context *context){
|
int process_incoming_frame(time_ms_t now, struct overlay_interface *UNUSED(interface), struct overlay_frame *f, struct decode_context *context)
|
||||||
|
{
|
||||||
IN();
|
IN();
|
||||||
int id = (interface - overlay_interfaces);
|
|
||||||
switch(f->type)
|
switch(f->type)
|
||||||
{
|
{
|
||||||
case OF_TYPE_SELFANNOUNCE_ACK:
|
case OF_TYPE_SELFANNOUNCE_ACK:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user