aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan/irda/packet-irda.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/epan/irda/packet-irda.c')
-rw-r--r--plugins/epan/irda/packet-irda.c138
1 files changed, 69 insertions, 69 deletions
diff --git a/plugins/epan/irda/packet-irda.c b/plugins/epan/irda/packet-irda.c
index e68fa1f1ff..9c4a7e197f 100644
--- a/plugins/epan/irda/packet-irda.c
+++ b/plugins/epan/irda/packet-irda.c
@@ -1272,25 +1272,25 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Baud Rate (");
if (pv & 0x01)
- g_strlcat(buf, ", 2400", 256);
+ (void) g_strlcat(buf, ", 2400", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 9600", 256);
+ (void) g_strlcat(buf, ", 9600", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 19200", 256);
+ (void) g_strlcat(buf, ", 19200", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 38400", 256);
+ (void) g_strlcat(buf, ", 38400", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 57600", 256);
+ (void) g_strlcat(buf, ", 57600", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 115200", 256);
+ (void) g_strlcat(buf, ", 115200", 256);
if (pv & 0x40)
- g_strlcat(buf, ", 576000", 256);
+ (void) g_strlcat(buf, ", 576000", 256);
if (pv & 0x80)
- g_strlcat(buf, ", 1152000", 256);
+ (void) g_strlcat(buf, ", 1152000", 256);
if ((p_len > 1) && (tvb_get_guint8(tvb, offset+3) & 0x01))
- g_strlcat(buf, ", 4000000", 256);
+ (void) g_strlcat(buf, ", 4000000", 256);
- g_strlcat(buf, " bps)", 256);
+ (void) g_strlcat(buf, " bps)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1300,15 +1300,15 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Maximum Turn Time (");
if (pv & 0x01)
- g_strlcat(buf, ", 500", 256);
+ (void) g_strlcat(buf, ", 500", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 250", 256);
+ (void) g_strlcat(buf, ", 250", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 100", 256);
+ (void) g_strlcat(buf, ", 100", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 50", 256);
+ (void) g_strlcat(buf, ", 50", 256);
- g_strlcat(buf, " ms)", 256);
+ (void) g_strlcat(buf, " ms)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1318,19 +1318,19 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Data Size (");
if (pv & 0x01)
- g_strlcat(buf, ", 64", 256);
+ (void) g_strlcat(buf, ", 64", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 128", 256);
+ (void) g_strlcat(buf, ", 128", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 256", 256);
+ (void) g_strlcat(buf, ", 256", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 512", 256);
+ (void) g_strlcat(buf, ", 512", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 1024", 256);
+ (void) g_strlcat(buf, ", 1024", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 2048", 256);
+ (void) g_strlcat(buf, ", 2048", 256);
- g_strlcat(buf, " bytes)", 256);
+ (void) g_strlcat(buf, " bytes)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1340,21 +1340,21 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Window Size (");
if (pv & 0x01)
- g_strlcat(buf, ", 1", 256);
+ (void) g_strlcat(buf, ", 1", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 2", 256);
+ (void) g_strlcat(buf, ", 2", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 3", 256);
+ (void) g_strlcat(buf, ", 3", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 4", 256);
+ (void) g_strlcat(buf, ", 4", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 5", 256);
+ (void) g_strlcat(buf, ", 5", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 6", 256);
+ (void) g_strlcat(buf, ", 6", 256);
if (pv & 0x40)
- g_strlcat(buf, ", 7", 256);
+ (void) g_strlcat(buf, ", 7", 256);
- g_strlcat(buf, " frame window)", 256);
+ (void) g_strlcat(buf, " frame window)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1364,23 +1364,23 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Additional BOFs (");
if (pv & 0x01)
- g_strlcat(buf, ", 48", 256);
+ (void) g_strlcat(buf, ", 48", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 24", 256);
+ (void) g_strlcat(buf, ", 24", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 12", 256);
+ (void) g_strlcat(buf, ", 12", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 5", 256);
+ (void) g_strlcat(buf, ", 5", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 3", 256);
+ (void) g_strlcat(buf, ", 3", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 2", 256);
+ (void) g_strlcat(buf, ", 2", 256);
if (pv & 0x40)
- g_strlcat(buf, ", 1", 256);
+ (void) g_strlcat(buf, ", 1", 256);
if (pv & 0x80)
- g_strlcat(buf, ", 0", 256);
+ (void) g_strlcat(buf, ", 0", 256);
- g_strlcat(buf, " additional BOFs at 115200)", 256);
+ (void) g_strlcat(buf, " additional BOFs at 115200)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1390,23 +1390,23 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Minimum Turn Time (");
if (pv & 0x01)
- g_strlcat(buf, ", 10", 256);
+ (void) g_strlcat(buf, ", 10", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 5", 256);
+ (void) g_strlcat(buf, ", 5", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 1", 256);
+ (void) g_strlcat(buf, ", 1", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 0.5", 256);
+ (void) g_strlcat(buf, ", 0.5", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 0.1", 256);
+ (void) g_strlcat(buf, ", 0.1", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 0.05", 256);
+ (void) g_strlcat(buf, ", 0.05", 256);
if (pv & 0x40)
- g_strlcat(buf, ", 0.01", 256);
+ (void) g_strlcat(buf, ", 0.01", 256);
if (pv & 0x80)
- g_strlcat(buf, ", 0", 256);
+ (void) g_strlcat(buf, ", 0", 256);
- g_strlcat(buf, " ms)", 256);
+ (void) g_strlcat(buf, " ms)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1416,23 +1416,23 @@ static guint dissect_negotiation(tvbuff_t* tvb, proto_tree* tree, guint offset)
proto_item_append_text(ti, ": Link Disconnect/Threshold Time (");
if (pv & 0x01)
- g_strlcat(buf, ", 3/0", 256);
+ (void) g_strlcat(buf, ", 3/0", 256);
if (pv & 0x02)
- g_strlcat(buf, ", 8/3", 256);
+ (void) g_strlcat(buf, ", 8/3", 256);
if (pv & 0x04)
- g_strlcat(buf, ", 12/3", 256);
+ (void) g_strlcat(buf, ", 12/3", 256);
if (pv & 0x08)
- g_strlcat(buf, ", 16/3", 256);
+ (void) g_strlcat(buf, ", 16/3", 256);
if (pv & 0x10)
- g_strlcat(buf, ", 20/3", 256);
+ (void) g_strlcat(buf, ", 20/3", 256);
if (pv & 0x20)
- g_strlcat(buf, ", 25/3", 256);
+ (void) g_strlcat(buf, ", 25/3", 256);
if (pv & 0x40)
- g_strlcat(buf, ", 30/3", 256);
+ (void) g_strlcat(buf, ", 30/3", 256);
if (pv & 0x80)
- g_strlcat(buf, ", 40/3", 256);
+ (void) g_strlcat(buf, ", 40/3", 256);
- g_strlcat(buf, " s)", 256);
+ (void) g_strlcat(buf, " s)", 256);
proto_item_append_text(ti, "%s", buf+2);
@@ -1556,29 +1556,29 @@ static void dissect_xid(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root, pro
service_hints[0] = 0;
if (hint1 & 0x01)
- g_strlcat(service_hints, ", PnP Compatible", 256);
+ (void) g_strlcat(service_hints, ", PnP Compatible", 256);
if (hint1 & 0x02)
- g_strlcat(service_hints, ", PDA/Palmtop", 256);
+ (void) g_strlcat(service_hints, ", PDA/Palmtop", 256);
if (hint1 & 0x04)
- g_strlcat(service_hints, ", Computer", 256);
+ (void) g_strlcat(service_hints, ", Computer", 256);
if (hint1 & 0x08)
- g_strlcat(service_hints, ", Printer", 256);
+ (void) g_strlcat(service_hints, ", Printer", 256);
if (hint1 & 0x10)
- g_strlcat(service_hints, ", Modem", 256);
+ (void) g_strlcat(service_hints, ", Modem", 256);
if (hint1 & 0x20)
- g_strlcat(service_hints, ", Fax", 256);
+ (void) g_strlcat(service_hints, ", Fax", 256);
if (hint1 & 0x40)
- g_strlcat(service_hints, ", LAN Access", 256);
+ (void) g_strlcat(service_hints, ", LAN Access", 256);
if (hint2 & 0x01)
- g_strlcat(service_hints, ", Telephony", 256);
+ (void) g_strlcat(service_hints, ", Telephony", 256);
if (hint2 & 0x02)
- g_strlcat(service_hints, ", File Server", 256);
+ (void) g_strlcat(service_hints, ", File Server", 256);
if (hint2 & 0x04)
- g_strlcat(service_hints, ", IrCOMM", 256);
+ (void) g_strlcat(service_hints, ", IrCOMM", 256);
if (hint2 & 0x20)
- g_strlcat(service_hints, ", OBEX", 256);
+ (void) g_strlcat(service_hints, ", OBEX", 256);
- g_strlcat(service_hints, ")", 256);
+ (void) g_strlcat(service_hints, ")", 256);
service_hints[0] = ' ';
service_hints[1] = '(';