diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:28:33 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:28:33 +0000 |
commit | 6b2498b349805894e5efdaf5f1b9a787c38d5765 (patch) | |
tree | 891a55857137670e0e0d5454e82d491cfb2ae2df /epan/expert.h | |
parent | a7c7742dc244addc6f9948654807471fdc0d521a (diff) |
Fix (-W)documentation error found by Clang
../../epan/expert.h:176:9: warning: parameter 'pi' not found in the function declaration [-Wdocumentation]
@param pi Current protocol item (or NULL)
^~
../../epan/expert.h:176:9: note: did you mean 'tree'?
@param pi Current protocol item (or NULL)
^~
tree
../../epan/expert.h:195:9: warning: parameter 'pi' not found in the function declaration [-Wdocumentation]
@param pi Current protocol item (or NULL)
^~
2 warnings generated.
svn path=/trunk/; revision=51258
Diffstat (limited to 'epan/expert.h')
-rw-r--r-- | epan/expert.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/expert.h b/epan/expert.h index 6db956e876..13566dbb0b 100644 --- a/epan/expert.h +++ b/epan/expert.h @@ -171,9 +171,9 @@ expert_add_info_format_text(packet_info *pinfo, proto_item *pi, expert_field *ei This function is intended to replace places where proto_tree_add_text or proto_tree_add_none_format + expert_add_info would be used. + @param tree Current protocol item (or NULL) @param pinfo Packet info of the currently processed packet. May be NULL if pi is supplied - @param pi Current protocol item (or NULL) @param eiindex The registered expert info item @param tvb the tv buffer of the current data @param start start of data in tvb @@ -190,9 +190,8 @@ proto_tree_add_expert(proto_tree *tree, packet_info *pinfo, expert_field* eiinde This function is intended to replace places where proto_tree_add_text or proto_tree_add_none_format + expert_add_info_format_text would be used. - @param pinfo Packet info of the currently processed packet. May be NULL if - pi is supplied - @param pi Current protocol item (or NULL) + @param tree Current protocol item (or NULL) + @param pinfo Packet info of the currently processed packet. May be NULL if tree is supplied @param eiindex The registered expert info item @param tvb the tv buffer of the current data @param start start of data in tvb |