diff options
author | Evan Huus <eapache@gmail.com> | 2012-09-05 01:44:09 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-09-05 01:44:09 +0000 |
commit | 471b4d94efd82d5db3687f9be1a276b29d1533ae (patch) | |
tree | 6a22e4422d5789753ea13c71830008cdcd6a0b0d /ui/gtk/proto_tree_model.c | |
parent | 5cdcf9c280435d9ba6b388e273cb4c87c790a7a6 (diff) |
Remove string constants from g_assert() calls, as per thread on wireshark-dev:
http://www.wireshark.org/lists/wireshark-dev/201209/msg00030.html
svn path=/trunk/; revision=44774
Diffstat (limited to 'ui/gtk/proto_tree_model.c')
-rw-r--r-- | ui/gtk/proto_tree_model.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/proto_tree_model.c b/ui/gtk/proto_tree_model.c index 3bef612946..d6ed53d200 100644 --- a/ui/gtk/proto_tree_model.c +++ b/ui/gtk/proto_tree_model.c @@ -195,7 +195,8 @@ proto_tree_model_get_value(GtkTreeModel *tree_model, GtkTreeIter *iter, gint col node = iter->user_data; fi = PNODE_FINFO(node); - g_assert(fi && "dissection with an invisible proto tree?"); + /* dissection with an invisible proto tree? */ + g_assert(fi); switch (column) { case 0: |