From 92a02af7205c6f0c0d72d8b59085fe86bcf8172e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 29 Sep 2009 19:18:43 +0000 Subject: Fixed an if-check in gcp_analyze_msg(). svn path=/trunk/; revision=30198 --- epan/gcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/gcp.c') diff --git a/epan/gcp.c b/epan/gcp.c index aa83ac07a3..46a5933d3d 100644 --- a/epan/gcp.c +++ b/epan/gcp.c @@ -703,7 +703,7 @@ void gcp_analyze_msg(proto_tree* gcp_tree, tvbuff_t* gcp_tvb, gcp_msg_t* m, gcp_ PROTO_ITEM_SET_GENERATED(ctx_item); - if (( c = ctx->cmds )) { + if (ctx->cmds) { proto_item* history_item = proto_tree_add_text(ctx_tree,gcp_tvb,0,0,"[ Command History ]"); proto_tree* history_tree = proto_item_add_subtree(history_item,ids->ett.ctx_cmds); -- cgit v1.2.3