warning in run cammand "make" for ns2
hi
i work with AODV in ns2.35
i comment two line in aodv.h file:
1- //#define AODV_LINK_LAYER_DETECTION
2- //#define AODV_USE_LL_METRIC
but when i "make clean" and then "make" i see some warning that i think it affect in my result.
i dont want to have this warnings....
aodv/aodv.cc: In member function ‘void AODV::rt_ll_failed(Packet*)’:
aodv/aodv.cc:566:16: warning: unused variable ‘ih’ [-Wunused-variable]
struct hdr_ip *ih = HDR_IP(p);
^
aodv/aodv.cc:567:18: warning: unused variable ‘rt’ [-Wunused-variable]
aodv_rt_entry *rt;
^
aodv/aodv.cc:568:10: warning: unused variable ‘broken_nbr’ [-Wunused-variable]
nsaddr_t broken_nbr = ch->next_hop_;
^
can anybody help me blz?
|