Useless Assignment at hostlist_ncp.c:71 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
gtk_ncp_hostlist_init (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/hostlist_ncp.c)![]() | ||||||
![]() | ||||||
64 | gtk_ncp_hostlist_init(const char *optarg, void* userdata _U_) | |||||
65 | { | |||||
66 | const char *filter=NULL; | |||||
67 | ||||||
68 | if(!strncmp(optarg,"hosts,ncp,",10)){ | |||||
69 | filter=optarg+10; | |||||
70 | } else { | |||||
71 | filter=NULL;
| |||||
72 | } | |||||
73 | ||||||
74 | init_hostlist_table(TRUE, "NCP", "ncp_hdr", filter, ncp_hostlist_packet); | |||||
75 | ||||||
76 | } | |||||
![]() |