Wireshark mailing list archives
Re: checkapi prefs
From: Ahmad Fatoum <ahmad () a3f at>
Date: Tue, 8 Aug 2017 12:54:39 +0200
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 will submit a fix shortly. Thanks for reporting. Cheers, Ahmad On Tue, Aug 8, 2017 at 11:33 AM, Dario Lombardo <dario.lombardo.ml () gmail com
wrote:
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? ____________________________________________________________ _______________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject= unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- checkapi prefs Dario Lombardo (Aug 08)
- Re: checkapi prefs Ahmad Fatoum (Aug 08)
- Re: checkapi prefs Michael Mann via Wireshark-dev (Aug 08)