diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:30:18 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:30:18 +0000 |
commit | 5741c8cba23d8ab5e114165b85677f7f4fcb59a9 (patch) | |
tree | 8d53239bf983521b1adf833ffad39eb6b21319c0 /epan | |
parent | 7bee34675a7dd7b9ccd74d2d3988646abdb787fa (diff) | |
download | wireshark-5741c8cba23d8ab5e114165b85677f7f4fcb59a9.tar.gz |
Fix (-W)documentation error found by Clang
packet-ucp.c:781:5: error: '\return' command used in a comment that is attached
to a function returning void [-Werror,-Wdocumentation]
* \return For 'int'-types, the value of the field.
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-ucp.c:954:17: error: parameter 'field' not found in the function
declaration [-Werror,-Wdocumentation]
* \param field The actual field, whose value needs displaying
^~~~~
svn path=/trunk/; revision=51270
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ucp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ucp.c b/epan/dissectors/packet-ucp.c index c36abc4208..9807bf96df 100644 --- a/epan/dissectors/packet-ucp.c +++ b/epan/dissectors/packet-ucp.c @@ -778,7 +778,6 @@ ucp_mktime(const char *datestr) * \param offset Location of field within the buffer, returns location * of next field. * - * \return For 'int'-types, the value of the field. */ static void ucp_handle_string(proto_tree *tree, tvbuff_t *tvb, int field, int *offset) @@ -951,7 +950,6 @@ ucp_handle_data_string(proto_tree *tree, tvbuff_t *tvb, int field, int *offset) * * \param tree The protocol tree to add to * \param tvb Buffer containing the data - * \param field The actual field, whose value needs displaying * \param offset Location of field within the buffer, returns location * of next field. */ |