forked from osmocom/wireshark
Squelch a compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11401 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
0f43797234
commit
cd32934f2f
|
@ -291,7 +291,7 @@ set_link_type_list(GtkWidget *linktype_om, GtkWidget *entry)
|
|||
lt_list = get_pcap_linktype_list(if_name, err_buf);
|
||||
|
||||
/* create string of list of IP addresses of this interface */
|
||||
for( ; curr_ip = g_slist_nth(if_info->ip_addr, ips); ips++) {
|
||||
for( ; (curr_ip = g_slist_nth(if_info->ip_addr, ips)) != NULL; ips++) {
|
||||
if (ips != 0) {
|
||||
g_string_append(ip_str, ", ");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue