diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-31 14:07:23 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-31 14:07:23 +0000 |
commit | 4c50b8ae34b235ebb339d90c820b37f02db485c2 (patch) | |
tree | d7b4f6dc1a5c38796a74c5b14c34c2f5f6afa8d4 /epan/dissectors/packet-dis-pdus.c | |
parent | dbd185b373c44cb1eee706db06faefde2a302d01 (diff) |
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26646 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dis-pdus.c')
-rw-r--r-- | epan/dissectors/packet-dis-pdus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dis-pdus.c b/epan/dissectors/packet-dis-pdus.c index 27bc7c5817..82336f3236 100644 --- a/epan/dissectors/packet-dis-pdus.c +++ b/epan/dissectors/packet-dis-pdus.c @@ -257,7 +257,7 @@ gint parseFields(tvbuff_t *tvb, proto_tree *tree, gint offset, DIS_ParserNode pa case DIS_FIELDTYPE_APPEARANCE: { proto_item *newSubtree; - newField = proto_tree_add_text(tree, tvb, offset, 4, + newField = proto_tree_add_text(tree, tvb, offset, 4, "%s", parserNodes[fieldIndex].fieldLabel); newSubtree = proto_item_add_subtree(newField, parserNodes[fieldIndex].ettVar); @@ -359,7 +359,7 @@ gint parseFields(tvbuff_t *tvb, proto_tree *tree, gint offset, DIS_ParserNode pa case DIS_FIELDTYPE_LOCATION_ENTITY: case DIS_FIELDTYPE_ENTITY_TYPE: case DIS_FIELDTYPE_ORIENTATION: - newField = proto_tree_add_text(tree, tvb, offset, -1, + newField = proto_tree_add_text(tree, tvb, offset, -1, "%s", parserNodes[fieldIndex].fieldLabel); if (parserNodes[fieldIndex].children != 0) { @@ -382,7 +382,7 @@ gint parseFields(tvbuff_t *tvb, proto_tree *tree, gint offset, DIS_ParserNode pa for (i = 0; i < numArticulations; ++i) { proto_item *newSubtree; - newField = proto_tree_add_text(tree, tvb, offset, -1, + newField = proto_tree_add_text(tree, tvb, offset, -1, "%s", parserNodes[fieldIndex].fieldLabel); newSubtree = proto_item_add_subtree(newField, ettArticulations[i]); |