aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-10-22 13:23:42 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-10-22 13:23:42 +0000
commit0eefbb4b099a312b38f64e08b3a1a3e7bca7bdc5 (patch)
treeff9ecbe810d0f79d78c02a775dc2c0c8df551b4e
parent576b37ddd80ecb24ab713b78c9d8bc0b001e544a (diff)
Fix
../../../epan/dissectors/packet-btatt.c:299:25: error: too many arguments for format [-Werror=format-extra-args] ../../../epan/dissectors/packet-btatt.c:254:12: error: unused variable 'col_info' [-Werror=unused-variable] svn path=/trunk/; revision=45710
-rw-r--r--epan/dissectors/packet-btatt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btatt.c b/epan/dissectors/packet-btatt.c
index 6c12f3b205..f3aa38d834 100644
--- a/epan/dissectors/packet-btatt.c
+++ b/epan/dissectors/packet-btatt.c
@@ -251,7 +251,6 @@ static void
dissect_btatt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
int offset = 0;
- gchar *col_info = "";
proto_item *ti, *item;
proto_tree *st, *ltree;
guint8 opcode;
@@ -296,7 +295,7 @@ dissect_btatt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(st, hf_btatt_handle_in_error, tvb, offset, 2, ENC_LITTLE_ENDIAN);
col_append_fstr(pinfo->cinfo, COL_INFO, " - %s, Handle: 0x%04x",
val_to_str(tvb_get_guint8(tvb, offset+2), error_vals, "<unknown>"),
- tvb_get_letohs(tvb, offset), tvb_get_letohs(tvb, offset));
+ tvb_get_letohs(tvb, offset));
offset += 2;
proto_tree_add_item(st, hf_btatt_error_code, tvb, offset, 1, ENC_LITTLE_ENDIAN);
offset++;