summaryrefslogtreecommitdiff
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-09-05 01:44:09 +0000
committerEvan Huus <eapache@gmail.com>2012-09-05 01:44:09 +0000
commit471b4d94efd82d5db3687f9be1a276b29d1533ae (patch)
tree6a22e4422d5789753ea13c71830008cdcd6a0b0d /proto_hier_stats.c
parent5cdcf9c280435d9ba6b388e273cb4c87c790a7a6 (diff)
downloadwireshark-471b4d94efd82d5db3687f9be1a276b29d1533ae.tar.gz
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 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 5ba3f97064..e01b3893aa 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -87,8 +87,9 @@ process_node(proto_node *ptree_node, GNode *parent_stat_node, ph_stats_t *ps, gu
GNode *stat_node;
finfo = PNODE_FINFO(ptree_node);
- /* We don't fake protocol nodes we expect them to have a field_info */
- g_assert(finfo && "dissection with faked proto tree?");
+ /* We don't fake protocol nodes we expect them to have a field_info.
+ * Dissection with faked proto tree? */
+ g_assert(finfo);
/* If the field info isn't related to a protocol but to a field,
* don't count them, as they don't belong to any protocol.