aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_analysis.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 /ui/gtk/rtp_analysis.c
parent5cdcf9c280435d9ba6b388e273cb4c87c790a7a6 (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/rtp_analysis.c')
-rw-r--r--ui/gtk/rtp_analysis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c
index 43185ef389..3071841df2 100644
--- a/ui/gtk/rtp_analysis.c
+++ b/ui/gtk/rtp_analysis.c
@@ -3588,7 +3588,8 @@ static gboolean process_node(proto_node *ptree_node, header_field_info *hfinform
finfo = PNODE_FINFO(ptree_node);
- g_assert(finfo && "Caller passed top of the protocol tree. Expected child node");
+ /* Caller passed top of the protocol tree. Expected child node */
+ g_assert(finfo);
if (hfinformation==(finfo->hfinfo)) {
hfssrc = proto_registrar_get_byname(proto_field);