aboutsummaryrefslogtreecommitdiffstats
path: root/file.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 /file.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 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index ea05108b18..f4f7e9c178 100644
--- a/file.c
+++ b/file.c
@@ -3014,7 +3014,8 @@ match_subtree_text(proto_node *node, gpointer data)
guint8 c_char;
size_t c_match = 0;
- g_assert(fi && "dissection with an invisible proto tree?");
+ /* dissection with an invisible proto tree? */
+ g_assert(fi);
if (mdata->frame_matched) {
/* We already had a match; don't bother doing any more work. */