Squelch a compiler warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11401 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
guy 2004-07-18 02:32:19 +00:00
parent 0f43797234
commit cd32934f2f
1 changed files with 1 additions and 1 deletions

View File

@ -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, ", ");
}