summaryrefslogtreecommitdiff
path: root/ui/qt/proto_tree.cpp
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/qt/proto_tree.cpp
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 'ui/qt/proto_tree.cpp')
-rw-r--r--ui/qt/proto_tree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp
index 2535f579d3..09157d96c3 100644
--- a/ui/qt/proto_tree.cpp
+++ b/ui/qt/proto_tree.cpp
@@ -51,7 +51,8 @@ proto_tree_draw_node(proto_node *node, gpointer data)
gchar *label_ptr;
gboolean is_leaf;
- g_assert(fi && "dissection with an invisible proto tree?");
+ /* dissection with an invisible proto tree? */
+ g_assert(fi);
if (PROTO_ITEM_IS_HIDDEN(node) && !prefs.display_hidden_proto_items)
return;