aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-1/+1
./frame_tvbuff.h:25:9: error: '__FRAME_TVBUFF__' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef __FRAME_TVBUFF__ ^~~~~~~~~~~~~~~~ ./frame_tvbuff.h:26:9: note: '__FRAME_TVBUFF_H__' is defined here; did you mean '__FRAME_TVBUFF__'? #define __FRAME_TVBUFF_H__ ^~~~~~~~~~~~~~~~~~ __FRAME_TVBUFF__ svn path=/trunk/; revision=51286
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-1/+1
./packet-ldp.h:26:9: error: '__PACKET_LDP_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef __PACKET_LDP_H_ ^~~~~~~~~~~~~~~ ./packet-ldp.h:27:9: note: '__PACKET_LDP_H__' is defined here; did you mean '__PACKET_LDP_H_'? #define __PACKET_LDP_H__ ^~~~~~~~~~~~~~~~ __PACKET_LDP_H_ svn path=/trunk/; revision=51285
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-1/+1
./packet-idp.h:25:9: error: '__PACKET_IDP_H__' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef __PACKET_IDP_H__ ^~~~~~~~~~~~~~~~ ./packet-idp.h:26:9: note: '__PACKET_IPX_H__' is defined here; did you mean '__PACKET_IDP_H__'? #define __PACKET_IPX_H__ ^~~~~~~~~~~~~~~~ __PACKET_IDP_H__ svn path=/trunk/; revision=51284
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-1/+1
../../epan/dissectors/packet-mpeg-sect.h:26:9: error: '__PACKET_MPEG_SECT_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef __PACKET_MPEG_SECT_H_ ^~~~~~~~~~~~~~~~~~~~~ ../../epan/dissectors/packet-mpeg-sect.h:27:9: note: '__PACKET_MPEG_SECT_H__' is defined here; did you mean '__PACKET_MPEG_SECT_H_'? #define __PACKET_MPEG_SECT_H__ ^~~~~~~~~~~~~~~~~~~~~~ __PACKET_MPEG_SECT_H_ svn path=/trunk/; revision=51283
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-3/+3
./packet-osi-options.h:26:9: error: '_PACKET_OSI_OPTION_H' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef _PACKET_OSI_OPTION_H ^~~~~~~~~~~~~~~~~~~~ ./packet-osi-options.h:27:9: note: '_PACKET_OSI_OPTIONS_H' is defined here; did you mean '_PACKET_OSI_OPTION_H'? #define _PACKET_OSI_OPTIONS_H ^~~~~~~~~~~~~~~~~~~~~ _PACKET_OSI_OPTION_H svn path=/trunk/; revision=51282
2013-08-10Fix (-W)header-guard error found by clang 3.4Alexis La Goutte1-1/+1
./packet-bluetooth-hci.h:24:9: error: '__PACKET_BLUETOOTH_HCI_H__' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef __PACKET_BLUETOOTH_HCI_H__ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./packet-bluetooth-hci.h:25:9: note: '__PACKET_BLUETOOTH_HCI__H__' is defined here; did you mean '__PACKET_BLUETOOTH_HCI_H__'? #define __PACKET_BLUETOOTH_HCI__H__ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ __PACKET_BLUETOOTH_HCI_H__ svn path=/trunk/; revision=51281
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
rawshark.c:889:11: error: parameter 'fd' not found in the function declaration [-Werror,-Wdocumentation] * @param fd [IN] A POSIX file descriptor. Because that's _exactly_ the sort ^~ rawshark.c:889:11: note: did you mean 'pd'? * @param fd [IN] A POSIX file descriptor. Because that's _exactly_ the sort ^~ pd svn path=/trunk/; revision=51280
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+0
In file included from main_menubar.c:110: ../../ui/gtk/proto_help.h:39:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ ../../ui/gtk/proto_help.h:47:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ svn path=/trunk/; revision=51279
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+0
../../epan/ftypes/../emem.h:34:3: error: empty paragraph passed to '@details' command [-Werror,-Wdocumentation] */ ^ svn path=/trunk/; revision=51278
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-3/+1
../../ui/gtk/gui_stat_menu.h:47:11: error: parameter 'group' not found in the function declaration [-Werror,-Wdocumentation] * @param group the menu group this stat should be registered to ^~~~~ svn path=/trunk/; revision=51277
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../../ui/gtk/filter_autocomplete.h:41:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param event ~~~~~~~~~~~^ ../../ui/gtk/filter_autocomplete.h:49:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param event ~~~~~~~~~~~^ svn path=/trunk/; revision=51276
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../ui/preference_utils.h:40:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:40:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:41:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:41:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused ../ui/preference_utils.h:48:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:48:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:49:11: error: parameter 'changed_p:' not found in the function declaration [-Werror,-Wdocumentation] * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ ../ui/preference_utils.h:49:11: note: did you mean 'changed_p'? * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ changed_p ../ui/preference_utils.h:60:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:60:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused svn path=/trunk/; revision=51275
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-5/+5
../ui/preference_utils.h:40:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:40:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:41:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:41:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused ../ui/preference_utils.h:48:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:48:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:49:11: error: parameter 'changed_p:' not found in the function declaration [-Werror,-Wdocumentation] * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ ../ui/preference_utils.h:49:11: note: did you mean 'changed_p'? * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ changed_p ../ui/preference_utils.h:60:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:60:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused svn path=/trunk/; revision=51274
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-4/+4
./packet_list_utils.h:37:11: error: parameter 'col[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param col[IN] The column number. ^~~~~~~ ./packet_list_utils.h:38:11: error: parameter 'cf[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param cf[IN] The capture file containing the packet data. ^~~~~~ ./packet_list_utils.h:47:11: error: parameter 'col[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param col[IN] The column number. ^~~~~~~ ./packet_list_utils.h:48:11: error: parameter 'cf[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param cf[IN] The capture file containing the packet data. ^~~~~~ svn path=/trunk/; revision=51273
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte2-41/+41
../../asn1/c1222/packet-c1222-template.c:348:15: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param pinfo ~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:349:14: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tree ~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:350:16: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param length ~~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:351:16: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param offset ~~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:758:11: error: parameter 'keybuf' not found in the function declaration [-Werror,-Wdocumentation] * \param keybuf is updated with a copy of the key data if successful lookup. ^~~~~~ ../../asn1/c1222/packet-c1222-template.c:758:11: note: did you mean 'keybuff'? * \param keybuf is updated with a copy of the key data if successful lookup. ^~~~~~ keybuff ../../asn1/c1222/packet-c1222-template.c:879:13: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tvb ~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:880:16: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param offset ~~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:881:13: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param len ~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:882:15: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param pinfo ~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:883:14: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tree ~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1023:13: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tvb ~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1024:15: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param pinfo ~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1025:14: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tree ~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1047:15: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param pinfo ~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1048:13: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tvb ~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1049:16: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param offset ~~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1068:13: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tvb ~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1069:15: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param pinfo ~~~~~~~~~~~^ ../../asn1/c1222/packet-c1222-template.c:1070:14: error: empty paragraph passed to '\param' command [-Werror,-Wdocumentation] * \param tree ~~~~~~~~~~^ svn path=/trunk/; revision=51272
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-5/+4
packet-umts_fp.c:3486:12: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-umts_fp.c:3488:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-umts_fp.c:3489:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ packet-umts_fp.c:3491:4: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return Void. ~^~~~~~~~~~~~ svn path=/trunk/; revision=51271
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+0
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
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-14/+1
packet-knet.c:466:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-knet.c:518:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-knet.c:677:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-knet.c:697:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-knet.c:717:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-knet.c:731:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ svn path=/trunk/; revision=51269
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-1/+1
packet-jxta.c:1668:13: error: parameter 'names' not found in the function declaration [-Werror,-Wdocumentation] * @param names The table of names. ^~~~~ packet-jxta.c:1668:13: note: did you mean 'names_table'? * @param names The table of names. ^~~~~ names_table svn path=/trunk/; revision=51268
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte2-145/+145
./packet-gsm_rlcmac.h:1086:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< MS Radio Access capability IE > ^~~ /**< ./packet-gsm_rlcmac.h:1089:26: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] typedef guint8 A5_bits_t;/*<A5 bits> ::= < A5/1 : bit> <A5/2 : bit> <A5/... ^~~~~ /**< packet-gsm_rlcmac.c:169:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Global TFI IE >*/ ^~~ /**< packet-gsm_rlcmac.c:171:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Starting Frame Number Description IE >*/ ^~~ /**< packet-gsm_rlcmac.c:174:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Ack/Nack Description IE >*/ ^~~ /**< packet-gsm_rlcmac.c:178:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Packet Timing Advance IE >*/ ^~~ /**< packet-gsm_rlcmac.c:183:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Power Control Parameters IE >*/ ^~~ /**< packet-gsm_rlcmac.c:191:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Global Power Control Parameters IE >*/ ^~~ /**< packet-gsm_rlcmac.c:195:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Global Packet Timing Advance IE >*/ ^~~ /**< packet-gsm_rlcmac.c:197:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Channel Quality Report struct >*/ ^~~ /**< packet-gsm_rlcmac.c:210:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< EGPRS Ack/Nack Description >*/ ^~~ /**< packet-gsm_rlcmac.c:216:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*<P1 Rest Octets>*/ ^~~~~ /**< packet-gsm_rlcmac.c:218:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*<P2 Rest Octets>*/ ^~~~~ /**< packet-gsm_rlcmac.c:264:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< SI 13 Rest Octets >*/ ^~~ /**< packet-gsm_rlcmac.c:288:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Packet TBF Release message content >*/ ^~~ /**< packet-gsm_rlcmac.c:293:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Packet Control Acknowledgement message content >*/ ^~~ /**< packet-gsm_rlcmac.c:299:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Packet Downlink Dummy Control Block message content >*/ ^~~ /**< packet-gsm_rlcmac.c:301:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< Packet Uplink Dummy Control Block message content >*/ ^~~ /**< packet-gsm_rlcmac.c:305:1: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] /*< MS Radio Access capability IE >*/ ^~~ /**< svn path=/trunk/; revision=51267
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-67/+28
packet-eigrp.c:633:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:638:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:691:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:696:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:765:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:769:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:814:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:818:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:853:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:857:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:878:10: error: unrecognized parameter passing direction, valid directions are '[in]', '[out]' and '[in,out]' [-Werror,-Wdocumentation] * @param[in|out] tree detail dissection result ^~~~~~~~ packet-eigrp.c:882:19: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param[out] None ~~~~~~~~~~~~~~~^ packet-eigrp.c:884:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:880:15: error: parameter 'pinfo' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] pinfo general data about the protocol ^~~~~ packet-eigrp.c:881:15: error: parameter 'ti' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] ti protocol item ^~ packet-eigrp.c:882:16: error: parameter 'None' not found in the function declaration [-Werror,-Wdocumentation] * @param[out] None ^~~~ packet-eigrp.c:902:19: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param[out] None ~~~~~~~~~~~~~~~^ packet-eigrp.c:904:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ packet-eigrp.c:902:16: error: parameter 'None' not found in the function declaration [-Werror,-Wdocumentation] * @param[out] None ^~~~ packet-eigrp.c:1712:15: error: parameter 'pinfo' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] pinfo general data about the protocol ^~~~~ packet-eigrp.c:1712:15: note: did you mean 'ti'? * @param[in] pinfo general data about the protocol ^~~~~ ti packet-eigrp.c:2585:18: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param[in] void ~~~~~~~~~~~~~~^ packet-eigrp.c:2585:15: error: parameter 'void' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] void ^~~~ packet-eigrp.c:3324:18: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param[in] void ~~~~~~~~~~~~~~^ packet-eigrp.c:3324:15: error: parameter 'void' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] void ^~~~ svn path=/trunk/; revision=51266
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
./packet-ssl-utils.h:463:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] @param comp_str ~~~~~~~~~~~~~~^ svn path=/trunk/; revision=51265
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-7/+6
./packet-mstp.h:31:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param val ~~~~~~~~~^ ./packet-mstp.h:41:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ ./packet-mstp.h:42:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ ./packet-mstp.h:43:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ ./packet-mstp.h:44:17: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param subtree ~~~~~~~~~~~~~^ ./packet-mstp.h:45:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ ./packet-mstp.h:46:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return none ~^~~~~~~~~~~ svn path=/trunk/; revision=51264
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-9/+9
./packet-cell_broadcast.h:33:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ ./packet-cell_broadcast.h:34:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ ./packet-cell_broadcast.h:35:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ ./packet-cell_broadcast.h:43:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ ./packet-cell_broadcast.h:44:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ ./packet-cell_broadcast.h:45:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ ./packet-cell_broadcast.h:53:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ ./packet-cell_broadcast.h:54:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ ./packet-cell_broadcast.h:55:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ svn path=/trunk/; revision=51263
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-6/+6
../../epan/xdlc.h:48:29: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_N_R_MASK 0xE0 /*< basic */ ^~~ /**< ../../epan/xdlc.h:50:34: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_N_R_EXT_MASK 0xFE00 /*< extended */ ^~~ /**< ../../epan/xdlc.h:52:29: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_N_S_MASK 0x0E /*< basic */ ^~~ /**< ../../epan/xdlc.h:54:34: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_N_S_EXT_MASK 0x00FE /*< extended */ ^~~ /**< ../../epan/xdlc.h:60:24: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_P_F 0x10 /*< basic */ ^~~ /**< ../../epan/xdlc.h:61:29: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] #define XDLC_P_F_EXT 0x0100 /*< extended */ ^~~ /**< svn path=/trunk/; revision=51262
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-512/+509
packet-bacapp.c:78:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-bacapp.c:79:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ packet-bacapp.c:80:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-bacapp.c:100:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-bacapp.c:101:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ packet-bacapp.c:102:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-bacapp.c:103:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ packet-bacapp.c:110:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-bacapp.c:111:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ packet-bacapp.c:112:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-bacapp.c:113:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ packet-bacapp.c:130:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-bacapp.c:131:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ packet-bacapp.c:132:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-bacapp.c:133:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ packet-bacapp.c:146:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ packet-bacapp.c:147:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ packet-bacapp.c:148:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ packet-bacapp.c:149:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ packet-bacapp.c:251:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:263:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:275:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:288:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:300:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:325:24: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param service_choice ~~~~~~~~~~~~~~~~~~~~^ packet-bacapp.c:338:24: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param service_choice ~~~~~~~~~~~~~~~~~~~~^ packet-bacapp.c:521:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ packet-bacapp.c:522:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param src ~~~~~~~~~^ packet-bacapp.c:521:11: error: parameter 'label' not found in the function declaration [-Werror,-Wdocumentation] * @param label ^~~~~ packet-bacapp.c:522:11: error: parameter 'src' not found in the function declaration [-Werror,-Wdocumentation] * @param src ^~~ packet-bacapp.c:654:11: error: parameter 'tree' not found in the function declaration [-Werror,-Wdocumentation] * @param tree the tree to append this item to ^~~~ packet-bacapp.c:654:11: note: did you mean 'subtree'? * @param tree the tree to append this item to ^~~~ subtree packet-bacapp.c:723:11: error: parameter 'tree' not found in the function declaration [-Werror,-Wdocumentation] * @param tree the tree to append this item to ^~~~ packet-bacapp.c:723:11: note: did you mean 'subtree'? * @param tree the tree to append this item to ^~~~ subtree packet-bacapp.c:749:11: error: parameter 'tree' not found in the function declaration [-Werror,-Wdocumentation] * @param tree the tree to append this item to ^~~~ packet-bacapp.c:749:11: note: did you mean 'subtree'? * @param tree the tree to append this item to ^~~~ subtree packet-bacapp.c:1076:24: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param service_choice ~~~~~~~~~~~~~~~~~~~~^ packet-bacapp.c:1266:17: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param service ~~~~~~~~~~~~~^ packet-bacapp.c:1337:4: error: unknown command tag name 'pram'; did you mean 'param'? [-Werror,-Wdocumentation] * @pram pinfo ^~~~~ param packet-bacapp.c:1337:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @pram pinfo ~~~~^ packet-bacapp.c:1366:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param label ~~~~~~~~~~~^ svn path=/trunk/; revision=51261
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-5/+5
packet-9p.c:342:16: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] guint16 len; /*< Length of the string */ ^~~ /**< packet-9p.c:343:13: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] char *str; /*< The string */ ^~~ /**< packet-9p.c:364:15: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] guint8 type; /*< Type */ ^~~ /**< packet-9p.c:365:19: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] guint32 version; /*< Monotonically incrementing version number */ ^~~ /**< packet-9p.c:366:16: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] guint64 path; /*< Per-server-unique ID for a file system element */ ^~~ /**< 5 errors generated svn path=/trunk/; revision=51260
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-7/+3
../../epan/wmem/wmem_user_cb.h:52:11: error: parameter 'allocator' not found in the function declaration [-Werror,-Wdocumentation] * @param allocator The allocator that triggered this callback. ^~~~~~~~~ ../../epan/wmem/wmem_user_cb.h:53:11: error: parameter 'event' not found in the function declaration [-Werror,-Wdocumentation] * @param event The event type that triggered this callback. ^~~~~ ../../epan/wmem/wmem_user_cb.h:54:11: error: parameter 'user_data' not found in the function declaration [-Werror,-Wdocumentation] * @param user_data Whatever user_data was originally passed to the call to ^~~~~~~~~ ../../epan/wmem/wmem_user_cb.h:63:11: error: parameter 'recurring' not found in the function declaration [-Werror,-Wdocumentation] * @param recurring If this is FALSE then the callback is called exactly once. ^~~~~~~~~ 4 errors generated. svn path=/trunk/; revision=51259
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-4/+3
../../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
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-1/+1
../../epan/uat.h:245:23: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param num_items_ptr ~~~~~~~~~~~~~~~~~~~^ 1 error generated. svn path=/trunk/; revision=51257
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../../epan/range.h:87:11: error: empty paragraph passed to '@return' command [-Werror,-Wdocumentation] * @return ~~~~~~~^ ../../epan/range.h:86:11: error: parameter 'max_value'' not found in the function declaration [-Werror,-Wdocumentation] * @param max_value' specifies the maximum value in a range. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../epan/range.h:86:11: note: did you mean 'max_value'? * @param max_value' specifies the maximum value in a range. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ max_value svn path=/trunk/; revision=51256
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+1
In file included from ../../epan/packet.h:29: ./../proto.h:1775:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] @param protocol ~~~~~~~~~~~~~~^ ./../proto.h:1947:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] @param flags ~~~~~~~~~~~^ svn path=/trunk/; revision=51255
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
airpdcap.c:131:11: error: parameter 'password' not found in the function declaration [-Werror,-Wdocumentation] * @param password [IN] pointer to a password (sequence of between 8 and ^~~~~~~~ airpdcap.c:154:11: error: parameter 'password' not found in the function declaration [-Werror,-Wdocumentation] * @param password [IN] pointer to a password (sequence of between 8 and ^~~~~~~~ svn path=/trunk/; revision=51254
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-1/+1
../../epan/emem.h:560:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ svn path=/trunk/; revision=51253
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-4/+4
./str_util.h:72:11: error: parameter 'str' not found in the function declaration [-Werror,-Wdocumentation] * @param str The string to be checked ^~~ ./str_util.h:72:11: note: did you mean 'string'? * @param str The string to be checked ^~~ string ./str_util.h:80:11: error: parameter 'str' not found in the function declaration [-Werror,-Wdocumentation] * @param str The string to be checked ^~~ ./str_util.h:80:11: note: did you mean 'string'? * @param str The string to be checked ^~~ string svn path=/trunk/; revision=51252
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../wsutil/crc16.h:68:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation] * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ ../wsutil/crc16.h:68:11: note: did you mean 'buf'? * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ buf ../wsutil/crc16.h:77:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation] * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ ../wsutil/crc16.h:77:11: note: did you mean 'buf'? * @param pBuffer a pointer to a buffer of the given length ^~~~~~~ buf svn path=/trunk/; revision=51251
2013-08-10Fix error when build with clang 3.0Alexis La Goutte1-2/+2
dumpcap.c:3981:88: error: implicit conversion loses integer precision: 'const __suseconds_t' (aka 'const long') to 'guint32' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] phdr->ts.tv_sec, phdr->ts.tv_usec, ~~~~~~~~~^~~~~~~ dumpcap.c:3989:73: error: implicit conversion loses integer precision: 'const __suseconds_t' (aka 'const long') to 'guint32' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] phdr->ts.tv_sec, phdr->ts.tv_usec, ~~~~~~~~~^~~~~~~ svn path=/trunk/; revision=51250
2013-08-10Fix error when build with clang 3.0Alexis La Goutte1-1/+1
wiretap/lanalyzer.c:643:24: error: implicit conversion loses integer precision: 'const __suseconds_t' (aka 'const long') to 'gint32' (aka 'int') [-Werror,-Wshorten-64-to-32] gint32 usec = a->tv_usec; ~~~~ ~~~^~~~~~~ svn path=/trunk/; revision=51249
2013-08-10IxVeriwave 11ac patch (bug 8912) from Tom Cook.Martin Mathieson2-1222/+1144
This was the 4th patch, but also: - use gmalloc0() to allocate vwr struct. Otherwise, valgrind says that many of fields were still uninitialised when parse_s1_W_stats later read them - whitespace tidyup, got rid of remaining tabs and trailing whitespace Did a fair bit of fuzz-testing without seeing any problems. svn path=/trunk/; revision=51248
2013-08-10dfilter: report warning if OR and AND logic operands are mixed without ↵Jakub Zawadzki6-12/+42
parentheses. svn path=/trunk/; revision=51247
2013-08-10Use proper macros to cast between uint and pointerMartin Mathieson2-4/+4
svn path=/trunk/; revision=51246
2013-08-10Try again...Martin Mathieson2-4/+4
svn path=/trunk/; revision=51245
2013-08-10Try using guint.Martin Mathieson2-8/+8
svn path=/trunk/; revision=51244
2013-08-10Add a malformed check to show if GroupA has more RAPIDs than A & BMartin Mathieson3-6/+57
combined. svn path=/trunk/; revision=51243
2013-08-10coverity 1058716Martin Kaiser1-1/+1
set but not used variable svn path=/trunk/; revision=51242
2013-08-10dissect the URL in the transport protocol descriptorMartin Kaiser1-0/+33
svn path=/trunk/; revision=51241
2013-08-09Fix error handling.Gerald Combs1-5/+5
svn path=/trunk/; revision=51240
2013-08-09Decode Kafka metadata requests and responses.Evan Huus1-0/+196
svn path=/trunk/; revision=51239
2013-08-09Move the description of the -Y <displaY filter> option to maintain a proper ↵Chris Maynard1-15/+15
sort. svn path=/trunk/; revision=51238
2013-08-09Replace tabs with spaces. Add modelines.Chris Maynard1-21/+34
svn path=/trunk/; revision=51237