forked from osmocom/wireshark
Make it build without warnings.
svn path=/trunk/; revision=29706
This commit is contained in:
parent
95ddec4d07
commit
f91c46757a
|
@ -281,7 +281,7 @@ packet_list_get_iter(GtkTreeModel *tree_model, GtkTreeIter *iter,
|
|||
PacketList *packet_list;
|
||||
PacketListRecord *record;
|
||||
gint *indices, depth;
|
||||
guint n;
|
||||
gint n;
|
||||
|
||||
g_assert(PACKETLIST_IS_LIST(tree_model));
|
||||
g_assert(path != NULL);
|
||||
|
@ -496,7 +496,7 @@ packet_list_iter_nth_child(GtkTreeModel *tree_model, GtkTreeIter *iter,
|
|||
|
||||
/* Special case: if parent == NULL, set iter to n-th top-level row. */
|
||||
if(!PACKET_LIST_RECORD_INDEX_VALID(packet_list->visible_rows, n))
|
||||
return NULL;
|
||||
return FALSE;
|
||||
|
||||
record = PACKET_LIST_RECORD_GET(packet_list->visible_rows, n);
|
||||
|
||||
|
|
Loading…
Reference in New Issue