Re: [Wireshark-dev] checkapi prefs

2017-08-08 Thread Michael Mann via Wireshark-dev
eshark <wireshark-dev@wireshark.org> Sent: Aug 8 5:33 am Subject: [Wireshark-dev] checkapi prefs I've got this error from checkAPI_epan target: prefs.c: error: found these preference variables used in more than one prefs_register_*_preference: guint *var, const char **var, , range_

Re: [Wireshark-dev] checkapi prefs

2017-08-08 Thread Ahmad Fatoum
prefs_register_*_preference populates a variable with a user-supplied value. And having more than one preference populate the same variable is usually not what you want. But the actual definitions of the function do just that: They use the same variable name and similar types for the variable. I

[Wireshark-dev] checkapi prefs

2017-08-08 Thread Dario Lombardo
I've got this error from checkAPI_epan target: prefs.c: error: found these preference variables used in more than one prefs_register_*_preference: guint *var, const char **var, , range_t **var I can't figure out what does it mean. Can anyone help?